Part Number Hot Search : 
FR100 DUG06A 103M1 PUMB1 TEA1401 P3500 MX25L12 5777M
Product Description
Full Text Search
 

To Download T9000 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  advance data sheet april 2000 T9000 isdn network termination node (ntn) device 1 description the T9000 is an isdn network termination node device that is highly integrated and provides a low- cost solution to support the following: n all standard nt1 functions required to attach an s/t interface device to an isdn network. in addi- tion, the T9000 also supports attachment of two standard analog (pots) telephones for communi- cations over an isdn network. n intelligent network termination (int/smart nt1) functions, with its built-in controller and support for attachment of two analog phones for communica- tions over an isdn network. n a variation of the v5.1 signaling protocol called narrowband multiservice delivery system (nmds) adopted by countries using the v5 signaling proto- col (e.g., united kingdom) in addition, the T9000 can also be used for pair-gain applications where support for more than one tele- phone line is required without the installation of an additional pair of wires from the telephone central office to the customer premises. 2 features n complete interface to basic rate isdn networks at the s/t-interface and u-interface reference points. n u-interface (lt or nt operation) conforms to ansi * t1.601 and etsi ts 080 standards. n s/t-interface conforms to ansi t1.605 standard, itu-t i.430 recommendation, and etsi ets 300 012 standard for the network termination (nt) side of the network. n low power consumption. n d-channel hdlc formatter with address recogni- tion and integrated contention resolution scheme. n 64-byte d-channel fifos. n gci+ interface supporting gci and generic tdm modes for interfacing to a wide variety of pots cir- cuits. n general-purpose i/o (gpio) ports with interrupt capability for interfacing to slics, codecs, dtmf decoders, and other peripheral devices. n three low-power, general-purpose comparators. n two 100 khz programmable pwm outputs with an automatic sine wave generation mode to support ringing, pulse metering, etc. n 20 khz200 khz programmable dc/dc converter synchronization output. n jtag boundary scan on all digital pins. n power-saving mode. in this mode, the unused interfaces of the T9000, such as, microcontroller, pwms, and comparator can remain in powerdown mode, thus resulting in significant reduction in power consumption (see section 20.2, power con- sumption). n packaged in a 100-pin tqfp (thin quad flat pkg). n 5 v power supply. n operating temperature range: C40 c to +85 c. n integrated 80c32 microcontroller with the following features: programmable clock rates (mhz): 15.36, 7.68, 3.84, 1.92, 0.96. 4k internal sram. 64k internal rom. supports external rom/ram. can be disabled via pin strap (sleep mode) for use with an external emulator. programmable watchdog timer. external rom and ram (64k x 8 maximum each) are accessed through an external data/address bus. support for rom and ram space above the 64k limit can be accomplished by memory paging using one or more gpio signals as an external chip select. power management routines may be implemented through the microcontroller to power down most of the internal submodules, including the microcontrol- ler itself. an autosleep mode is also included, allow- ing the microcontroller to stop its internal clock and be automatically restarted (microcontroller wake-up) whenever any interrupt is triggered. * ansi is a registered trademark of american national standards institute, inc.
table of contents contents page contents page 2 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 1 description................................................................1 2 features ...................................................................1 3 block diagram ..........................................................6 4 pin information .........................................................7 5 control register memory space ............................15 6 functional modules ................................................17 6.1 80c32 microcontroller module (80c32 block) ..17 6.2 program address space...................................17 6.3 data address space .........................................17 6.4 timers ...............................................................17 6.5 interrupts ...........................................................17 6.6 interrupt register set ........................................18 6.7 clock generator................................................21 6.8 watchdog timer................................................22 6.9 on-circuit emulation (once) mode .................23 6.10 emulation ........................................................23 6.11 module i/o ......................................................23 6.12 special instructions for using the lucent 80c32 block....................................................23 6.13 port configuration ...........................................24 6.13.1 ports 0 and 2 .............................................24 6.13.2 port 1.........................................................24 6.13.3 port 3.........................................................24 6.14 serial port timing ...........................................25 6.15 external program memory characteristics .....26 7 transmission superblock .......................................29 7.1 u-interface block (u block)...............................29 7.2 s/t-interface block (s block) ............................29 7.3 data flow/activation control module (dfac)...30 7.3.1 eoc state machine (eocsm) ....................30 7.3.2 automatic eoc (autoeoc) mode ............30 7.3.3 manual eoc mode......................................30 7.3.4 data flow control........................................32 7.4 microcontroller access to upstream and downstream b1 and b2 channels....................32 7.5 lt mode............................................................32 7.6 dfac register set ...........................................33 8 device operation control .......................................47 8.1 device operation register ................................47 9 hdlc with fifo module ........................................52 9.1 hdlc transmitter .............................................52 9.1.1 hdlc transmitter initialization....................52 9.2 hdlc transmitter d-channel access ..............53 9.3 hdlc receiver .................................................54 9.3.1 hdlc receiver initialization........................54 9.3.1.1 overrun condition................................. 56 9.4 address recognition ........................................ 56 9.5 hdlc register set........................................... 58 10 gci+ interface module ........................................ 69 10.1 tdm mode (gccf, gmode[1:0] = 1x) ......... 69 10.2 gci modes (gccf[gmode(1:0)] = 0x) ........ 73 10.3 gci-nt mode (gccf[gmode(1:0)] = 00) .... 73 10.3.1 gci-scit mode (gccf, gmode[1:0] = 01) ..................................... 75 10.3.2 monitor message transfer ....................... 77 10.4 c/i message transfer..................................... 77 10.5 gci+ powerdown mode................................. 77 10.6 gci+ loopbacks ............................................ 78 10.7 gci+ register set.......................................... 79 11 gpio ports .......................................................... 85 11.1 gpio register set ......................................... 86 12 pwm module ....................................................... 93 12.1 pwm manual/timer operation mode............. 94 12.2 pwm auto operation (sine) mode................. 94 12.3 pwsm rom................................................... 96 12.4 pwm auto mode example ............................. 97 12.5 pwm powerdown mode............................... 100 12.6 pwm module register set........................... 100 13 dc/dc control generator .................................... 104 13.1 dc/dc control generator register set .......... 104 14 comparators...................................................... 105 14.1 comparators register set............................ 106 14.2 configuration sequence .............................. 107 15 test mode.......................................................... 108 16 loopbacks ......................................................... 109 17 absolute maximum ratings............................... 110 18 handling precautions ........................................ 111 19 recommended operating conditions ............... 112 20 electrical characteristics ....................................112 20.1 power supply ................................................112 20.2 power consumption..................................... 112 20.3 s/t-interface receiver common-mode rejection ...................................................... 112 21 crystal characteristics....................................... 113 22 application diagrams......................................... 114 23 outline diagram................................................. 116 23.1 100-pin tqfp .............................................. 116 24 ordering information.......................................... 117 25 register set summary ...................................... 118
advance data sheet april 2000 lucent technologies inc. 3 isdn network termination node (ntn) device T9000 table of contents (continued) tables page table 1. s/t-interface pins (6) ..................................8 table 2. u-interface pins (7) .....................................8 table 3. gci+ pins (5) ...............................................9 table 4. gpio pins (24) ..........................................10 table 5. 80c32 external access pins (27) ...............11 table 6. comparators (6) ........................................13 table 7. jtag pins (4) ............................................13 table 8. miscellaneous pins (2) ..............................14 table 9. oscillator pins (2) ......................................14 table 10. power and ground pins ..........................14 table 11. control register memory space ...............15 table 12. gir0: global interrupt register 0 (0x00) ....................................................................18 table 13. gir1: global interrupt register 1 (0x01) ....................................................................19 table 14. gie: global interrupt enable register (0x02) .....................................................................20 table 15. upck: microcontroller clock control register (0x03) .....................................................21 table 16. wdt: microcontroller watchdog timer control (0x04) .......................................................22 table 17. port direction registers ...........................24 table 18. standard 80c32 rclk/tclk options ....25 table 19. lucent 80c32 rclk/tclk options ........25 table 20. external program memory characteristics ........................................................26 table 21. autoeoc = 1 messages (data/messages = 1) that initiate actions ............31 table 22. dfcf: dfac configuration register (0x05) ....................................................................33 table 23. dfr: data flow register (0x06) ....................................................................34 table 24. ucr0: u-interface control register #0 (0x07) ....................................................................35 table 25. ucr1: u-interface control register #1 (0x08) ....................................................................36 table 26. usr0: u-interface status register #0 (0x09) ....................................................................37 table 27. usr1: u-interface status register #1 (0x0a) ...................................................................37 table 28. ecr0: eoc control register 0command and address (0x0b) ..............................................38 table 29. ecr1: eoc control register 1message (0x0c) ...................................................................39 table 30. esr0: eoc status register 0command and address (0x0d) ..............................................39 table 31. esr1: eoc status register 1message (0x0e) ...................................................................39 table 32. scr0: s-interface control register #0 (0x0f) ....................................................................40 table 33. scr1: s-interface control register #1 (0x10) ....................................................................41 tables page table 34. ssr: s-interface status register (0x11) ................................................................... 42 table 35. mfr0: multiframe register, q-chan- nel data (0x12) .................................................... 43 table 36. mfr1: multiframe register, s-sub- channel data (0x13) ............................................. 43 table 37. uir: u-interface interrupt register (0x14) ................................................................... 44 table 38. uie: u-interface interrupt enable (0x15) .................................................................... 45 table 39. sir: s-interface interrupt register (0x16) ................................................................... 46 table 40. sie: s-interface interrupt enable register (0x17) .................................................................... 46 table 41. docr: device operation control register (0x50) ...................................................... 47 table 42. b1up: b1-channel upstream data from gci to u-interface (0x51)............................... 47 table 43. b2up: b2-channel upstream data from gci to u-interface (0x52)............................... 48 table 44. b1dn: b1-channel downstream data from u-interface to gci (0x53) .............................. 48 table 45. b2dn: b2-channel downstream data from u-interface to gci (0x54) .............................. 48 table 46. reserved 1: reserved register for internal use (0x55) ................................................ 49 table 47. reserved 2: reserved register for internal use (0x56) ................................................ 49 table 48. reserved 3: reserved register for internal use (0x57) ................................................ 49 table 49. reserved 4: reserved register for internal use (0x58) ................................................ 50 table 50. reserved 5: reserved register for internal use (0x59) ................................................ 50 table 51. reserved 6: reserved register for internal use (0x5a) ................................................ 50 table 52. reserved 7: reserved register for internal use (0x5b) ................................................ 50 table 53. reserved 8: reserved register for internal use (0x5c) ................................................ 51 table 54. reserved 9: reserved register for internal use (0x5d) ................................................ 51 table 55. htcf: hdlc transmitter configuration register (0x18) .................................................... 58 table 56. hrcf: hdlc receiver configuration register (0x19) .................................................... 59 table 57. htth: hdlc transmit fifo threshold (0x1a) .................................................................. 60 table 58. hrth: hdlc receive fifo threshold (0x1b) .................................................................. 60 table 59. htsa: hdlc transmit fifo space available (0x1c) ................................................... 61
4 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 table of contents (continued) tables page table 60. hrda: hdlc receive fifo data available (0x1d) ....................................................61 table 61. htx: hdlc transmit data (0x1e) ..........61 table 62. htxl: hdlc transmit data last byte (0x1f) ....................................................................62 table 63. hrx: hdlc receive data (0x20) ...........62 table 64. hscr: hdlc sapi c/r bit mask (0x21) ....................................................................62 table 65. hsm0: hdlc sapi match pattern 0 (0x22) ....................................................................63 table 66. htm0: hdlc tei match pattern 0 (0x23) ....................................................................63 table 67. hsm1: hdlc sapi match pattern 1 (0x24) ....................................................................63 table 68. htm1: hdlc tei match pattern 1 (0x25) ....................................................................64 table 69. hsm2: hdlc sapi match pattern 2 (0x26) ....................................................................64 table 70. htm2: hdlc tei match pattern 2 (0x27) ....................................................................64 table 71. hsm3: hdlc sapi match pattern 3 (0x28) ....................................................................64 table 72. htm3: hdlc tei match pattern 3 (0x29) ....................................................................65 table 73. hsmod: hdlc sapi modifier register (0x2a) ....................................................................65 table 74. htmod: hdlc tei modifier register (0x2b) ....................................................................66 table 75. hir: hdlc interrupt register (0x2c) ......67 table 76. hie: hdlc interrupt enable 15 (0x2d) ...68 table 77. gci+ interface signals ............................69 table 78. tdm data rate and clock options ..........70 table 79. gci-te data-slot association ..................76 table 80. gccf: gci+ configuration register (0x2e) ...................................................................79 table 81. gcof1: gci pfs1 offset select (0x2f) ....................................................................80 table 82. gcof2: gci pfs2 offset select (0x30) ....................................................................80 table 83. gcdmd: gci downstream (transmit) monitor data (0x31) ..............................................81 table 84. gcdml: gci downstream (transmit) monitor data last (0x32) ......................................81 table 85. gcumd: gci upstream (receive) monitor data (0x33) ...........................................................81 table 86. gcdci: gci downstream (transmit) c/i data (0x34) ...........................................................82 table 87. gcuci: gci upstream (receive) c/i data (0x35) ...........................................................82 table 88. gcir: gci interrupt register (0x36) .......83 table 89. gcie: gci interrupt enable (0x37) ..........84 table 90. gpdir0: gpio port 0 pin direction (0x38) ....................................................................86 tables page table 91. gpdir1: gpio port 1 pin direction (0x39) ................................................................... 87 table 92. gpdir2: gpio port 2 pin direction (0x3a) .................................................................. 87 table 93. gpaf0: gpio alternate function register #0 (0x3b) ............................................... 88 table 94. gpaf1: gpio alternate function register #1 (0x3c) ............................................... 89 table 95. gpd0: gpio port 0 data register (0x3d) .................................................................. 89 table 96. gpd1: gpio port 1 data register (0x3e) .................................................................. 90 table 97. gpd2: gpio port 2 data register (0x3f) ................................................................... 90 table 98. gplei: gpio level-edge-triggered interrupt control (0x40) ........................................ 90 table 99. gppol: gpio interrupt polarity control (0x41) ...................................................... 91 table 100. gpir: gpio interrupt register (0x42) ................................................................... 91 table 101. gpie: gpio interrupt enable (0x43) ................................................................... 92 table 102. rom code ............................................. 96 table 103. pwm sine modulator programming example ............................................................... 98 table 104. pw0cf: pulse-width modulator 0 configuration (0x44) .......................................... 100 table 105. pw0vh: pulse-width modulator 0 pulse-width value, high byte (0x45) ................. 101 table 106. pw0vl: pulse-width modulator 0 pulse-width value, low byte (0x46) ................. 101 table 107. pw1cf: pulse-width modulator 1 configuration (0x47) .......................................... 102 table 108. pw1vh: pulse-width modulator 1 pulse-width value, high byte (0x48) ................. 103 table 109. pw1vl: pulse-width modulator 1 pulse-width value, low byte (0x49) ................. 103 table 110. pwir: pulse-width modulator interrupt register (0x4a) .................................................. 103 table 111. dccf: dc/dc configuration register (0x4b) ................................................................ 104 table 112. comparator characteristics ................ 106 table 113. cme: comparator enable (0x4c) ....... 106 table 114. cmt: comparator transition polarity (0x4d) ................................................................ 106 table 115. cmir: comparator interrupt register (0x4e) ................................................................ 107 table 116. cmie: comparator interrupt enable (0x4f) ................................................................. 107
advance data sheet april 2000 lucent technologies inc. 5 isdn network termination node (ntn) device T9000 table of contents (continued) tables page table 117. absolute maximum ratings ..................110 table 118. esd threshold voltage ........................111 table 119. recommended operating conditions .112 table 120. power consumption ............................112 table 121. s/t-interface receiver common-mode rejection ...............................................................112 table 122. fundamental mode crystal characteristics ......................................................113 table 123. internal pll characteristics ..................113 table 124. register set summary global registers .............................................................118 table 125. register set summary dfac registers .............................................................118 table 126. register set summary u-interface control registers ..................................................118 table 127. register set summary eoc control registers ................................................119 table 128. register set summary s-interface registers ..............................................................119 table 129. register set summary multiframe registers .............................................................119 table 130. register set summary u-interface interrupt registers ..............................................119 table 131. register set summary s-interface interrupt registers ...............................................120 table 132. register set summary hdlc registers ..............................................................121 table 133. register set summary gci+ registers ..............................................................123 table 134. register set summary gpio registers ..............................................................124 table 135. register set summary pwm registers ..............................................................125 table 136. register set summary dc/dc register ................................................................125 table 137. register set summary comparator registers ..............................................................126 figures page figure 1. ntn block diagram..................................... 6 figure 2. T9000 pinout ............................................... 7 figure 3. ntn data memory address space ........... 18 figure 4. external program memory read cycle ..... 27 figure 5. external data memory read cycle ........... 27 figure 6. external data memory write cycle ........... 28 figure 7. downstream eoc analysis (autoeoc = 1) and upstream eoc processing ............................. 31 figure 8. 2b+d data flow block diagram................ 32 figure 9. hdlc transmitter fifo ............................ 53 figure 10. hdlc receiver status word................... 54 figure 11. hdlc receiver fifo snapshot sequence............................................................... 55 figure 12. dlci extension and function of sapi0m-tei0m bits ............................................... 57 figure 13. gci+ interface, tdm mode timing, double clock mode: gccf[ckmode] = 0, gccf[gmode(1:0)] = 1x ...................................... 71 figure 14. gci+ interface, tdm mode timing, single clock mode: gccf[ckmode] = 1, gccf[gmode(1)] = 1........................................... 72 figure 15. ntn/t8503 glueless tdm interconnection ...................................................... 72 figure 16. gci-nt frame structure ......................... 74 figure 17. gci-nt timing diagram.......................... 74 figure 18. gci-te mode frame structure ............... 76 figure 19. gci loopback logic ................................ 78 figure 20. gpio pin capabilities summary ............. 86 figure 21. pulse-width modulated output signal .... 93 figure 22. pwmcntrl architecture ....................... 95 figure 23. widths of pwm pulses generated with a 2.5%97.5% modulation width ......................... 99 figure 24. (a) cmv when cme is a periodic pulse and (b) cmv when cmv is static ............. 105 figure 25. location of the loopback configurations ...................................................... 109 figure 26. nt1 application ..................................... 114 figure 27. nt1+ application ................................... 114 figure 28. pair gain application ............................. 115
6 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 3 block diagram figure 1 shows the architecture of the ntn device. 5-6494af figure 1. ntn block diagram legend: dc/dc: square wave signal generator with programmable period comp: comparator dfac: data flow/activation control gci+: general control interface gpio: general-purpose input/output hdlc: high-level datalink controller jtag: boundary-scan interface pwm: pulse-width modulator uci: microcontroller interface dfac u gci+ s/t hdlc rom ram 80c32 core uci clock/ reset dc/dc gpio pwm comp jtag 24 gpio pins s/t-interface u-interface gci+ interface transmission superblock
lucent technologies inc. 7 advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information 5-6495.bf note: alternate pin functions, shown in parentheses (), are selected when the test pin is asserted. alternate pin functions, shown in brackets [], are selected when the corresponding register bits are set. figure 2. T9000 pinout gpio0.7 [pwmo11] dcl (k2_512) fs1 (k2_f) reset dd (rclken) fs2 (iloss) jtdo (tdo) gnd d xtal1 xtal0 v ddd du rxd rd jtdi (tdi) jtck (c1536) jtms (tci) gpio0.4 [pwmo00] gpio0.3 gpio0.2 gpio0.1 gpio0.0 ft gnd d lop gnd a lon sdinn xint1 xint0 gnd d gpio2.7 (ptlb_s) gpio2.6 [mtc] gpio2.5 gpio2.4 gpio2.3 [synco] gpio2.2 [fsc] gpio1.7 [t2] ad2 ad5 ad6 ad7 gnd d a8 a9 a10 a11 a12 a13 gpio2.1 [bclk] gpio2.0 gnd d gpio1.6 [t1] gpio0.6 [pwmo10] gpio0.5 [pwmo01] sdinp vrcm psen ad1 a14 a15 5 1 65 60 55 50 45 40 35 30 25 20 15 10 T9000 ea v dda ad4 ad3 2 3 4 6 7 8 9 11 12 13 14 16 17 18 19 21 22 23 24 26 27 28 29 31 32 33 34 36 37 38 39 41 42 43 44 46 47 48 49 51 52 53 54 56 57 58 59 61 62 63 64 66 67 68 gpio1.5 [t0] gpio1.4 (ussp_e) gpio1.3 gpio1.2 gpio1.1 gpio1.0 v ddd test gnd d inn0 inp0 inn1 inp1 inn2 inp2 txd ale v ddd ad0 slp v ddd gnd d clko vrp vrn csens v dda rnr rpr tpr gnd a 69 70 71 72 73 74 75 76 81 86 91 96 100999897 95949392 90898887 85848382 80797877 wr v dda gnd a tnr
8 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information (continued) table 1. s/t-interface pins (6) table 2. u-interface pins (7) pin name pin # type pin description csens 58 current sense. connect an 11.5 k w , 1%, resistor from this pin to gnd a . ft 71 i fixed timing control. upon exiting from reset, the state of this pin is sampled internally and written to register scr0[ft] to control whether the s-block receiver uses fixed or adaptive timing (note that the 80c32 is free to overwrite register bit scr0[ft] subsequent to this). internal 50 k w pull-down. 0: adaptive timing. incoming data at s/t-interface is sampled at a point defined by an adaptive timing algorithm. 1: fixed timing. incoming data at the s/t-interface is sampled with a fixed delay relative to the s/t transmitter clock. tpr 54 o transmit positive rail for s/t-interface. positive output of s/t-interface analog transmitter. connect to transformer through a 121 w , 1% resistor. tnr 51 o transmit negative rail for s/t-interface. negative output of s/t-interface analog transmitter. connect to transformer through a 121 w , 1% resistor. rpr 55 i receive positive rail for s/t-interface. positive input of s/t-interface analog receiver. connect to transformer through a 10 k w , 10% resistor. rnr 56 i receive negative rail for s/t-interface. negative input of s/t-interface analog receiver. connect to transformer through a 10 k w , 10% resistor. pin name pin # type pin description lop 68 o line driver positive output for u-interface. connect to u-interface transformer through a 16.9 w, 1% resistor. lon 65 o line driver negative output for u-interface. connect to u-interface transformer through a 16.9 w, 1% resistor. vrp 61 positive voltage reference for u-interface circuits. connect a 0.1 m f, 2 0 % c a p a c - itor to gnd a (as close to the device pins as possible). vrn 60 negative voltage reference for u-interface circuits. connect a 0.1 m f, 2 0 % capacitor to gnd a (as close to the device pins as possible). vrcm 62 common-mode voltage reference for u-interface circuits. connect a 0.1 m f, 20% capacitor to gnd a (as close to the device pins as possible). sdinn 64 i sigma-delta a/d negative input for u-interface. connect via an 820 pf, 20% capacitor to sdinp. sdinp 63 i sigma-delta a/d positive input for u-interface. connect via an 820 pf, 20% capacitor to sdinn.
lucent technologies inc. 9 advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information (continued) table 3. gci+ pins (5) * od = open-drain output, i d = input with an internal 50 k w pull-down. ? depending on the setting of register bit gccf[gdriver], this output can be programmed to either open drain or push-pull. pin name pin # type* pin description du 33 i data upstream . gci+ data input. dd (rclken) 32 od (o) data downstream . gci+ data output. open-drain ? output (typical). 80 khz receive clock . when the test pin is asserted, this pin assumes the alternate function rclken. this output is a buffered version of the internal 80 khz baud clock that is locked to the received data on the u-interface (or free- running if the u-interface is inactive). dcl (k2_512) 29 o (o) gci data clock . rate defined by gccf[grate(1:0)]. k2_512k clock . when the test pin is asserted, this pin assumes the alternate function k2_512. this is the 512 khz internal data clock from the u block, and is synchronous to the received data on the u-interface. fs1 (k2_f) 30 o (o) programmable frame sync 1 . envelope of channel #0 (gci mode) or frame sync pulse for b1 channel (tdm mode). see table 28. k2_frame clock . when the test pin is asserted, this pin assumes the alter- nate function k2_f. this is the 8 khz frame clock from the u block, and is syn- chronous to the received data on the u-interface. fs2 (iloss) 34 o (i d ) programmable frame sync 2 . frame sync pulse for b2 channel. see table 28. insertion loss . when the test pin is asserted, this pin assumes the alternate function iloss. the iloss pin causes the device to continuously transmit an sn1 pattern. this is useful for performing certain tests such as power spectral density. internal 50 k w pull-down. 0: no effect on device operation. 1: u transmitter sends sn1 tone continuously.
10 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information (continued) table 4. gpio pins (24) * i = input, o = output, i d = input with an internal 50 k w pull-down, i u = input with an internal 100 k w pull-up. pin name pin # type* pin description gpio0.0 gpio0.1 gpio0.2 gpio0.3 gpio0.4 [pwmo00] gpio0.5 [pwmo01] gpio0.6 [pwmo10] gpio0.7 [pwmo11] 72 73 74 75 76 77 78 79 i u /o i u /o i u /o i u /o i u /o i u /o i u /o i u /o general-purpose programmable i/o port 0. all of these pins may be con- figured as inputs or outputs (see register gpdir0). when programmed as inputs, gpio0.[3:0] may be configured as level or edge-triggered interrupt sources for the 80c32 block (see register gplei). gpio0.[3:0] have schmitt trigger input buffers. internal 100 k w pull-up. gpio0.[7:6] and [5:4] may be alternatively configured (see register gpaf0) as outputs from pwm modules 1 and 0, respectively. gpio1.0 gpio1.1 gpio1.2 gpio1.3 gpio1.4 (ussp_e) gpio1.5 [t0] gpio1.6 [t1] gpio1.7 [t2] 81 82 83 84 85 86 87 88 i u /o i u /o i u /o i u /o i d /o i u /o i u /o i u /o general-purpose programmable i/o port 1. all of these pins may be con- figured as inputs or outputs (see register gpdir1). when programmed as inputs, gpio1.[3:0] may be configured as level- or edge-triggered interrupt sources for the 80c32 block (see register gplei). gpio1.[3:0] have schmitt trigger input buffers. internal 100 k w pull-up. gpio1.[7:5] may be alternatively configured (see register gpaf1) as the external trigger sources, t2, t1, and t0, respectively, for timers 2:0 on the 80c32 block. u-interface send single pulses enable . when the test pin is asserted, this pin assumes the alternate function ussp_e. this function is identical to that controlled by bit ucr1[ussp_e]. this input causes the u-interface to continuously transmit single 2b1q pulses on the u-interface. the pulses occur at a rate of 1 pulse per 125 m s and alternate between pos- itive and negative polarity. the magnitude of the pulses is controlled by bit ucr1[uspmag]. 0: no effect on device operation. 1: u transmitter sends single pulses continuously. gpio2.0 gpio2.1 [bclk] gpio2.2 [fsc] gpio2.3 [synco] gpio2.4 gpio2.5 gpio2.6 [mtc] gpio2.7 (ptlb_s) 90 91 92 93 94 95 96 97 i u /o i u /o i u /o i u /o i u /o i u /o i u /o i u /o general-purpose programmable i/o port 2. all of these pins may be con- figured as inputs or outputs (see register gpdir2). internal 100 k w pull-up. when programmed as an output, gpio2.0 has a 6 ma current sinking capability. gpio2.6 becomes an input to the 8 khz mtc signal when docr[nt-lt] bit is set to 1 (register 0x50). gpio2.3 may be alternatively configured (see register gpaf1) as the dc/dc output signal synco (see section 13.1, dc/dc control generator register set). gpio2.2 may be alternatively configured (see register gpaf1) as the gci+ signal fsc (see section 10, gci+ interface module). gpio2.1 may be alternatively configured (see register gpaf1) as the gci+ signal bclk (see section 10, gci+ interface module). pulse template/loopback, s-interface . when the test pin is asserted, this pin assumes the alternate function ptlb_s. this input causes the device to perform an s/t-only activation (equivalent to setting scr0[stoa] = 1), and enables a remote loopback towards the te on the 2b+d channels (equivalent to setting scr1[rlb_d, rlb_b2, rlb_b1] = 1). this is useful for performing pulse template and other tests on the s/t-interface. the u- interface should be maintained inactive while this function is enabled.
lucent technologies inc. 11 advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information (continued) table 5. 80c32 external access pins (27) the 80c32 external access pins change function when the 80c32 block is placed in on-circuit emulation (once) mode (see section 6.9, on-circuit emulation (once) mode). the following table lists the normal function for each pin or group of pins first, followed by the function when in once mode. * i = input, o = output, hz = high-impedance, od = open-drain output, i d = input with an internal 50 k w pull-down, i u = input with an internal 100 k w pull-up. pin name pin # type* pin description ad[7:0] 114 i/o multiplexed low-order address/data bus. used when accessing external mem- ory. ad[7:0] are open-drain bidirectional i/o ports requiring external pull-ups. i/o once mode . ad[7:0] are inputs in all cases except during the read phase of an internal ram access, where they become outputs to allow the internal ram to drive data onto the bus to be read by the emulator. a[15:8] 2013 o upper address bus. used when accessing external memory. a[15:8] are open- drain, bidirectional i/o ports requiring external pull-ups. in normal mode, they are outputs. i once mode . a[15:8] are inputs. if the address is within the range 0k4k, the chip will execute the read/write operation on the address indicated. the ntn will not respond to addresses above 4k. ale 2 o address latch enable. output pulse for latching the low byte of the address dur- ing an access to external memory. in normal operation, ale is emitted at a con- stant rate of 1/6 the oscillator frequency, and can be used for external timing or clocking. note that one ale pulse is skipped during each access to external data memory. i once mode . ale is an input that is driven directly by the emulators ale signal and is used to latch the address applied on a[15:7], ad[7:0]. psen 1o program store enable (active-low). read strobe output to external program memory. when the 80c32 is executing code from external program memory, psen is activated twice each machine cycle, except that two psen activations are skipped during each access to external data memory. psen is not activated during fetches from internal program memory. hz once mode . psen is 3-stated. rd 27 o read strobe (active-low). external data memory read strobe output. i once mode . rd is an input that is driven directly by the emulators ale signal and used to access internal memory locations from 0k4k. the ntn will not respond to addresses above 4k. wr 28 o write strobe (active-low). external data memory write strobe output. i once mode . wr is an input that is driven directly by the emulators ale signal and used to access internal memory locations from 0k4k. the ntn will not respond to addresses above 4k. xint0 99 i external interrupt 0 (active-low). input for driving external interrupt #0 signal on 80c32. this signal is fed to the uci module where it is combined with the rest of the type 0 interrupts from the internal ntn circuitry (i.e., those in register gir0), and the result is presented to the 80c32 int0_b input. od once mode . interrupt source 0 output. open-drain output. the uci module drives this signal low whenever an internal interrupt type 0 condition occurs.
12 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information (continued) table 5. 80c32 external access pins (27) (continued) * i = input, o = output, hz = high-impedance, od = open-drain output, i d = input with an internal 50 k w pull-down, i u = input with an internal 100 k w pull-up. pin name pin # type* pin description xint1 100 i external interrupt 1 (active-low). input for driving external interrupt #1 signal on 80c32. this signal is fed to the uci module where it is collapsed with the rest of the type 1 interrupts from the internal ntn circuitry (i.e., those in register gir1), and the result is presented to the 80c32 int1_b input. od once mode . interrupt source 1 output. open-drain output. the uci module drives this signal low whenever an internal interrupt type 1 condition occurs. clko 24 o microcontroller clock output. outputs clock based on settings in register upck (see section 6.7, clock generator). o once mode . same behavior as in normal mode. can be used to supply clock to external emulator. slp 21 i u internal microsleep input (active-low). activates once mode when slp is low upon an exit from reset. internal 100 k w pull-up. i u once mode . same behavior as in normal mode. internal pull-up. rxd 26 i d 80c32 serial input port. connected directly to p3.0 of 80c32 block. can also be used as a programmable i/o by appropriate programming of the sfr direction register dir3 and the sfr port register p3. internal 50 k w pull-down. hz once mode . rxd is 3-stated. txd 23 i d 80c32 serial output port. connected directly to p3.1 of 80c32 block. can also be used as a programmable i/o by appropriate programming of the sfr direction register dir3 and the sfr port register p3 (see section 6.12, special instructions for using the lucent 80c32 block). internal 50 k w pull-down. hz once mode . txd is 3-stated. ea 70 i external access (active-low). when ea is held high, the microcontroller executes instructions from the internal program memory. holding ea low forces the microcon- troller to execute instructions from external program memory. internal 100 k w pull- up. i once mode . holding ea low disables access to the internal memory in the ntn device.
lucent technologies inc. 13 advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information (continued) table 6. comparators (6) * i = input. table 7. jtag pins (4) * i = input, o = output, i u = input with an internal 100 k w pull-up. pin name pin # type* pin description inp0 46 i input positive, comparator 0. connect to 5 v via 1 k w. inn0 45 i input negative, comparator 0. connect to gnd via 1 k w. inp1 48 i input positive, comparator 1. connect to 5 v via 1 k w. inn1 47 i input negative, comparator 1. connect to gnd via 1 k w. inp2 50 i input positive, comparator 2. connect to 5 v via 1 k w. inn2 49 i input negative, comparator 2. connect to gnd via 1 k w. pin name pin # type* pin description jtck (c1536) 41 i u (o) jtag tap clock. it is recommended that this pin be externally pulled to v dd during normal operation. internal 100 k w pull-up. 15.36 mhz system clock . when the test pin is asserted, this pin assumes the alternate function c1536. this output is a buffered version of the internal 15.36 mhz system clock that is used by the ntn device. jtms (tci) 42 i u (o) jtag tap mode select. this pin is externally pulled to v dd through approxi- mately 20 k w . internal 100 k w pull-up. test control in . when the test pin is asserted, this pin assumes the alternate function tci. this pin is used for factory testing. note: when in test mode, tci must not be pulled low by the user when not being actively driven. jtdi (tdi) 40 i u jtag serial data input. this pin is internally pulled to v dd through approxi- mately 20 k w . internal 100 k w pull-up. test data in. when the test pin is asserted, the gpio1.7 pin assumes the alternate function tdi. this pin is used for factory testing. jtdo (tdo) 35 o jtag serial data output. test data out . when the test pin is asserted, this pin assumes the alternate function tdo. this pin is used for factory testing.
14 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 4 pin information (continued) table 8. miscellaneous pins (2) * i = input, o = output, i d = input with an internal 50 k w pull-down. table 9. oscillator pins (2) * i = input, o = output. table 10. power and ground pins pin name pin # type* pin description reset 31 i d reset input (active-high). this signal resets the entire device. during reset, the u transmitter produces 0 v. this puts the u-interface in the quiet mainte- nance mode as described in ansi t1.601 section 6.5. reset should be asserted whenever return loss and longitudinal balance measurements are being made on the u-interface. internal 50 k w pull-down. test 43 i d test input (active-high). during normal operation, this signal should be main- tained high. internal 50 k w pull-down. please see section 15, test mode for more details. pin name pin # type* pin description xtal1 37 i crystal in . 15.36 mhz oscillator input. when using an external crystal, one of the crystal pins is connected to this pin. this pin may also be driven by an external oscillator with cmos output levels. xtal0 38 o crystal out . 15.36 mhz oscillator output. when using an external crystal, one of the crystal pins is connected to this pin. when using an external oscillator, this pin is left unconnected. pin name pin # type pin description v ddd 3, 22, 39, 80 digital power . 5 v 5% power supply pins for digital circuitry. gnd d 12, 25, 36, 44, 69, 89, 98 digital ground . ground leads for digital circuitry. v dda 53, 57, 67 analog power . 5 v 5% power supply lead for the analog circuitry. gnd a 52, 59, 66 analog ground . ground leads for analog circuitry.
lucent technologies inc. 15 advance data sheet april 2000 isdn network termination node (ntn) device T9000 5 control register memory space table 11. control register memory space register address register mnemonic description refer to 0x00 gir0 global interrupt register 0 table 12 on page 18 0x01 gir1 global interrupt register 1 table 13 on page 19 0x02 gie global interrupt enable register table 14 on page 20 0x03 upck microcontroller clock control register table 15 on page 21 0x04 wdt microcontroller watchdog timer control table 16 on page 22 0x05 dfcf dfac configuration register table 22 on page 33 0x06 dfr data flow register table 23 on page 34 0x07 ucr0 u-interface control register #0 table 24 on page 35 0x08 ucr1 u-interface control register #1 table 25 on page 36 0x09 usr0 u-interface status register #0 table 26 on page 37 0x0a usr1 u-interface status register #1 table 27 on page 37 0x0b ecr0 eoc control register 0 command and address table 28 on page 38 0x0c ecr1 eoc control register 1 message table 29 on page 39 0x0d esr0 eoc status register 0 command and address table 30 on page 39 0x0e esr1 eoc status register 1 message table 31 on page 39 0x0f scr0 s-interface control register #0 table 32 on page 40 0x10 scr1 s-interface control register #1 table 33 on page 41 0x11 ssr s-interface status register table 34 on page 42 0x12 mfr0 multiframe register, q-channel data table 35 on page 43 0x13 mfr1 multiframe register, s-subchannel data table 36 on page 43 0x14 uir u-interface interrupt register table 37 on page 44 0x15 uie u-interface enable register table 38 on page 45 0x16 sir s-interface interrupt register table 39 on page 46 0x17 sie s-interface enable register table 40 on page 46 0x18 htcf hdlc transmitter configuration register table 55 on page 58 0x19 hrcf hdlc receiver configuration register table 56 on page 59 0x1a htth hdlc transmit fifo threshold table 57 on page 60 0x1b hrth hdlc receive fifo threshold table 58 on page 60 0x1c htsa hdlc transmit fifo space available table 59 on page 61 0x1d hrda hdlc receive fifo data available table 60 on page 61 0x1e htx hdlc transmit data table 61 on page 61 0x1f htxl hdlc transmit data last byte table 62 on page 62 0x20 hrx hdlc receive data table 63 on page 62 0x21 hscr hdlc sapi c/r bit mask table 64 on page 62 0x22 hsm0 hdlc sapi match pattern 0 table 65 on page 63 0x23 htm0 hdlc tei match pattern 0 table 66 on page 63 0x24 hsm1 hdlc sapi match pattern 1 table 67 on page 63 0x25 htm1 hdlc tei match pattern 1 table 68 on page 64 0x26 hsm2 hdlc sapi match pattern 2 table 69 on page 64 0x27 htm2 hdlc tei match pattern 2 table 70 on page 64 0x28 hsm3 hdlc sapi match pattern 3 table 71 on page 64 0x29 htm3 hdlc tei match pattern 3 table 72 on page 65 0x2a hsmod hdlc sapi modifier register table 73 on page 65 0x2b htmod hdlc tei modifier register table 74 on page 66 0x2c hir hdlc interrupt register table 75 on page 67 0x2d hie hdlc interrupt enable 15 table 76 on page 68 0x2e gccf gci+ configuration register table 80 on page 79
16 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 5 control register memory space (continued) table 11. control register memory space (continued) register address register mnemonic description refer to 0x2f gcof1 gci pfs1 offset select table 81 on page 80 0x30 gcof2 gci pfs2 offset select table 82 on page 80 0x31 gcdmd gci downstream (transmit) monitor data table 83 on page 81 0x32 gcdml gci downstream (transmit) monitor data last table 84 on page 81 0x33 gcumd gci upstream (receive) monitor data table 85 on page 81 0x34 gcdci gci downstream (transmit) c/i data table 86 on page 82 0x35 gcuci gci upstream (receive) c/i data table 87 on page 82 0x36 gcir gci interrupt register table 88 on page 83 0x37 gcie gci interrupt enable table 89 on page 84 0x38 gpdir0 gpio port 0 pin direction table 90 on page 86 0x39 gpdir1 gpio port 1 pin direction table 91 on page 87 0x3a gpdir2 gpio port 2 pin direction table 92 on page 87 0x3b gpaf0 gpio alternate function register #0 table 93 on page 88 0x3c gpaf1 gpio alternate function register #1 table 94 on page 89 0x3d gpd0 gpio port 0 data register table 95 on page 89 0x3e gpd1 gpio port 1 data register table 96 on page 90 0x3f gpd2 gpio port 2 data register table 97 on page 90 0x40 gplei gpio level-edge-triggered interrupt control table 98 on page 90 0x41 gppol gpio interrupt polarity control table 99 on page 91 0x42 gpir gpio interrupt register table 100 on page 91 0x43 gpie gpio interrupt enable table 101 on page 92 0x44 pw0cf pulse-width modulator 0 configuration table 104 on page 100 0x45 pw0vh pulse-width modulator 0 pulse-width value, high byte table 105 on page 101 0x46 pw0vl pulse-width modulator 0 pulse-width value, low byte table 106 on page 101 0x47 pw1cf pulse-width modulator 1 configuration table 107 on page 102 0x48 pw1vh pulse-width modulator 1 pulse-width value, high byte table 108 on page 103 0x49 pw1vl pulse-width modulator 1 pulse-width value, low byte table 109 on page 103 0x4a pwir pulse-width modulator interrupt register table 110 on page 103 0x4b dccf dc/dc configuration register table 111 on page 104 0x4c cme comparator enable table 113 on page 106 0x4d cmt comparator transition polarity table 114 on page 106 0x4e cmir comparator interrupt register table 115 on page 107 0x4f cmie comparator interrupt enable table 116 on page 107 0x50 docr device operation control register table 41 on page 47 0x51 b1up b1-channel upstream data from gci to u-interface table 42 on page 47 0x52 b2up b2-channel upstream data from gci to u-interface table 43 on page 48 0x53 b1dn b1-channel downstream data from gci to u-interface table 44 on page 48 0x54 b2dn b2-channel downstream data from gci to u-interface table 45 on page 48 0x55 reserved1 reserved register for internal use table 46 on page 49 0x56 reserved2 table 47 on page 49 0x57 reserved3 table 48 on page 49 0x58 reserved4 table 49 on page 50 0x59 reserved5 table 50 on page 50 0x5a reserved6 table 51 on page 50 0x5b reserved7 table 52 on page 50 0x5c reserved8 table 53 on page 51 0x5d reserved9 table 54 on page 51
lucent technologies inc. 17 advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules this section covers the functionality of the ntn core modules. 6.1 80c32 microcontroller module (80c32 block) the ntn ic includes an embedded 80c32 microcon- troller, incorporating a 256-byte internal ram, three 16-bit timer/counters, six interrupt sources, and one serial port i/o. typical functions of the microcontroller module are as follows: n definition of operation modes for all other ntn mod- ules (u-interface, s/t-interface, etc.) n configuration of the 2b+d data flow paths in the dfac module n layer 2 and layer 3 processing of the d channel for pots calls n supervision of the pots circuitry n device power management 6.2 program address space the on-chip 64k x 8 mask-programmable rom occu- pies the full program memory space addressable by the 80c32. the 80c32 addresses this memory via the microcontroller interface (uci) module. the internal rom can be disabled so that code from an external rom can be executed by tying the ea pin low. the microcontroller then fetches the program instruc- tions through its external access port (see table 5). applications requiring a larger program space than the 64k x 8 available with the standard 80c32 may use gpio ports to extend the address space using a pag- ing scheme. 6.3 data address space the ntn data address space is comprised of several distinct regions as shown in figure 3. the 80c32 internal ram is an integral part of the 80c32 architecture and is accessed using the 80c32 mov instruction (see any standard 80c32 data sheet for details on the internal memory space). the ntn has on-chip registers and sram that occupy the lowest 4 kbytes of the 80c32s external data mem- ory address space and is accessed using the 80c32 movx instruction. the on-chip read and write signals from the 80c32 (shown in figure 3 as rdi and wri ) are asserted during access to this memory space. the lowest 94 bytes of the 80c32 external space (005dh) are comprised of the device configuration and control registers, and the remaining (4002) bytes (5eh0fffh) are comprised of sram. the ntn can also access off-chip ram up to the 64k address space limit through the external access port (see table 5). when accessing the 4k on-chip ram at the bottom of the address space, the on-chip external qualifier function shown in figure 3 prevents the rdi and wri signals from propagating to the ntn pins rd and wr (the pins remain 3-stated). when accessing an address outside the 4k range of the on-chip mem- ory space, the rd and wr signals appear on the ntn pins rd and wr . the external qualifier function elimi- nates the need for any external decoding (chip-select) logic when an external ram is being used. in this scheme, the lowest 4k of any external ram is not usable. external address decoding logic may be used if it is desirable to use the lowest 4k of the external ram. 6.4 timers timer 0 and timer 1 can be configured as either inde- pendent timers or counters as specified in the 80c32 data sheet. in counter mode, gpio ports 1.5 and 1.6 may be configured to generate timer 0s and timer 1s trigger sources, respectively (see section 11, gpio ports). timer 2 can be configured as a timer, a counter, or as a serial baud rate generator. in counter and baud generator mode, gpio 1.7 may be configured as timer 2s trigger source. 6.5 interrupts the 80c32 accepts six interrupts sources. these inter- rupt sources are interrupt lines int0 and int1 (the 80c32 block external interrupts); timer 0, timer 1, and timer 2; and a serial port interrupt. the ntn has an embedded interrupt controller which collapses a large number of interrupt sources (gpir, uir, sir, pwir, cmir, gcir, and hir) into the two 80c32 interrupt inputs int0 and int1 . since the inter- rupt controller can be viewed as an and function of the ntn interrupt sources, the 80c32 interrupts should be programmed as level-triggered interrupts (tcon.it0 and tcon.it1, cleared to 0, the reset default condi- tion). if external edge-triggered interrupts sources must be interfaces to the ntn, ports gpio0[3:0] and gpio1[3:0] can be used.
18 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.5 interrupts (continued) external pins xint0 and xint1 are also collapsed in the uci module. xint0 is collapsed into register gir0 in bit xi0i. xint1 is collapsed into register gir1 in bit xi1i. these interrupts are maskable via the corresponding inter- rupt enable bits (see register gie). 5-6710f.a figure 3. ntn data memory address space 6.6 interrupt register set table 12. gir0: global interrupt register 0 (0x00) note: all bits in this register are set to 1 upon occurrence of the corresponding interrupt condition, and remain set until the interrupt condition causing the interrupt goes away. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gir0 r xi0i 125i uii sii gpioi resetdefault 00000 bit symbol name/description 75 reserved. 4xi0i external xint0 interrupt. this interrupt follows the level on the ntn external interrupt pin xint0 . 3125i 125 m s interrupt. this interrupt occurs every 125 m s. this can be used to program the timing of the microcontroller to access the b-channel data. 2uii u-interface interrupt. this interrupt occurs when any of the interrupt bits in the u interrupt register (uir) are active, i.e., all of the u-interface interrupts are collapsed into this bit. 1sii s-interface interrupt. this interrupt occurs when any of the interrupt bits in the s interrupt register (sir) are active, i.e., all of the s-interface interrupts are collapsed into this bit. 0gpioi gpio interrupt. this interrupt occurs when any of the interrupt bits in the gpio interrupt register (gpir) are active, i.e., all of the gpio interrupts are collapsed into this bit. accessible by indirect addressing only accessible by direct addressing only accessible by direct and indirect special function registers addressing 80c32 internal ram ffh 80h ports, status and control bits, timer, registers, stack pointer, accumulator ffh 80h upper 7fh 128 lower 128 0 ntn on-chip ram (80c32 external space) ntn off-chip ram (80c32 external space) up to 60k accessible external memory ntn on-chip sram ntn device registers lowest 4k not accessible external qualifier rdi wri 5dh 0fffh (4k) 0fffh (4k) rd wr ffffh (64k) 00 on-chip
lucent technologies inc. 19 advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.6 interrupt register set (continued) table 13. gir1: global interrupt register 1 (0x01) note: all bits in this register are set to 1 upon occurrence of the corresponding interrupt condition, and remain set until the interrupt condition causing the interrupt goes away. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gir1 r xi1i hdlci gcii cmpi pwmi resetdefault 00000 bit symbol name/description 75 reserved. 4xi1i external xint1 interrupt. this interrupt follows the level on the ntn external interrupt pin xint1 . 3 hdlci hdlc interrupt. this interrupt occurs when any of the interrupt bits in the hdlc interrupt register (hir) are active, i.e., all of the hdlc interrupts are collapsed into this bit. 2gcii gci interrupt. this interrupt occurs when any of the interrupt bits in the gci interrupt register (gcir) are active, i.e., all of the gci interrupts are collapsed into this bit. 1cmpi comparator interrupt. this interrupt occurs when any of the interrupt bits in the comparator interrupt register (cir) are active, i.e., all of the comparator interrupts are collapsed into this bit. 0pwmi pwm interrupt. this interrupt occurs when any of the interrupt bits in the pwm interrupt register (pwir) are active, i.e., all of the pwm interrupts are collapsed into this bit.
20 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.6 interrupt register set (continued) table 14. gie: global interrupt enable register (0x02) this register contains enable bits for the interrupts in registers gir0 and gir1. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gie r/w 125ie ii1e xi1e ii0e xi0e reset default 0 0 0 0 0 0 0 0 bit symbol name/description 75 reserved. program to 0. 4 125ie 125 m s interrupt enable. enables the 125 m s interrupt. 0: interrupt disabled. 1: interrupt enabled. 3 ii1e internal interrupt #1 enable. enables internal interrupt #1 bits (hdlci, gcii, cmpi, pwmi). 0: interrupt disabled. 1: interrupt enabled. 2xi1e external interrupt #1 enable. enables external interrupt xi1i. 0: interrupt disabled. 1: interrupt enabled. 1 ii0e internal interrupt #0 enable. enables internal interrupt #0 bits (bodi, uii, sii, gpioi). 0: interrupt disabled. 1: interrupt enabled. 0xi0e external interrupt #0 enable. enables external interrupt xi0i. 0: interrupt disabled. 1: interrupt enabled.
lucent technologies inc. 21 advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.7 clock generator this module contains the crystal oscillator, from which it derives clocks to drive the rest of the modules. the micro- controller can execute a self-powerdown by selecting the clock it receives. at powerup, the microcontroller clock defaults to 15.36 mhz. the microcontroller can slow down its own clock by writing to the upck register. when the microcontroller is stopped (upck[2:0] = 000), any interrupt will immediately set upck = 15.36 mhz. table 15. upck: microcontroller clock control register (0x03) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 upck r/w clkoe upck2upck1upck0 resetdefault 10000111 bit # symbol name/description 7clkoe external microcontroller clock output enable. controls the output driver for the clko signal. 0: output driver is 3-stated. 1: output driver is enabled. 63 reserved. program to 0. 20 upck[2:0] microcontroller clock value. programs the frequency of the microcontroller clock as follows: 000: stops clock (clock is restarted on detection of interrupt). 001: 0.96 mhz. 010: 1.92 mhz. 011: 3.84 mhz. 100: 7.68 mhz. 101: 15.36 mhz. 110: 15.36 mhz. 111: 15.36 mhz.
22 22 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.8 watchdog timer a watchdog timer is implemented using a 16-bit pres- caler clocked by the 80c32 microcontroller clock. the prescaler drives a programmable up-counter that pro- vides an additional count multiplication selection and is programmable from 1 to 127. upon overflow of the up- counter, the entire chip is reset (including the 80c32). given the 16-bit prescaler (65536 count) and a 1 to 127 multiplication selection, the watchdog time-out ranges can be calculated as follows: 960 khz 80c32 clock: longest: 1/960 k x 65536 x 127 = 8.670 s shortest: 1/960 k x 65536 x 1 = 68.27 ms 15.36 mhz 80c32 clock: longest: 1/15.36 m x 65536 x 127 = 541.9 ms shortest: 1/15.36 m x 65536 x 1 = 4.267 ms note that programming the count multiplication register to 0 initiates an immediate reset of the chip. this is a convenient way to get the 80c32 to do a full system reset. table 16 lists the watchdog timer control register bits. table 16. wdt: microcontroller watchdog timer control (0x04) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 wdt r/w wdte wdt6 wdt5 wdt4 wdt3 wdt2 wdt1 wdt0 resetdefault 01111111 bit # symbol name/description 7wdte watchdog timer enable. enables the watchdog timer function. 0: watchdog timer disabled. 1: watchdog timer enabled. 6:0 wdt[6:0] watchdog timer value. multiplication selection for the watchdog timer.
lucent technologies inc. 23 advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.9 on-circuit emulation (once) mode the external access port pin slp is used to put the device under the control of an external microcontroller. the once mode is invoked by the following two steps: n pulling slp and reset low. n holding slp low while releasing reset. table 5 lists the functions of the microcontrollers exter- nal access pins during once mode. 6.10 emulation when using once mode, some special provisions must be made on the target system to ensure accurate emulation as follows: n if the target systems ntn uses external ram, a memory decoder must be added to the board to sup- port emulation. this decoder must select the external ram only during accesses to addresses above the lowest 4k of memory. this is not necessary during normal operation because the ntn disables the rd and wr strobes that are routed to the external mem- ory whenever an access is being made to the inter- nal 4k of ram. however, during emulation mode, the signals are being driven by the external emulator and will be presented to the external ram for all external data accesses, including the lowest 4k. this will create contention between the internal 4k of ram and the lowest 4k of external ram. as a simple example of required decoding logic, if using an exter- nal 4k ram, the a12 address line could be inverted and used to drive the rams cs signal. for an exter- nal 8k ram, the nor of the a12 and a13 lines could be used to drive cs . for an external 16k ram, the nor of a12 through a14 could be used to drive cs , etc. this logic is not required when using the system in normal (nonemulation) mode. n if any of the gpio1.[7:5] pins are being used as inputs to trigger internal timers t2, t1, and t0 (see register gpaf1), these signals must also be routed to the 80c32 emulators port pins p1.0, p3.5, and p3.4, respectively, in order to trigger the correspond- ing timers on the emulator. n external interrupt sources that normally drive xint0 and xint1 should be open-drain drivers to avoid contention with the xint0 and xint1 pins during once mode. in normal operation, xint0 and xint1 pins on the ntn are inputs with internal pull-ups (thus an external open-drain driver does not require a pull-up). in once mode, the xint0 and xint1 pins become open-drain outputs (with internal pull- ups) so that the ntn can drive the internal status of the xint0 and xint1 signals onto the corresponding emulator pins. note that this means that, in once mode, the interrupt service routine (isr) for int0 and int1 will need to be modified to reflect this differ- ence. this is because in normal mode, the microcon- troller will see x|0| or x|1| go high in registers gr0 and gr1, respectively, when an external interrupt occurs. however, in once mode, the occurrence of an external interrupt will change the level on the emulators int0 and int1 pins, but this change will not show up in the x|0| or x|1| interrupt bits in the ntn. therefore, the isr will need to assume that, if no bits in gir0 (for an xint0 interrupt) or gir1 (for an xint1 interrupt) are set and an interrupt has occurred, then the isr for the corresponding exter- nal interrupt should be invoked. 6.11 module i/o the i/o interface for this module is identical to that doc- umented in the lucent 80c31/32/51/52 data sheet, with the exception of the ale signal. ale is also an input to the 80c32 block. this is required to allow an external microcontroller to access the internal 4 kbytes address space during once mode. during once mode, there is a direct connection between the external access port signals and their associated signals on the microcontroller interface. for this purpose, a shell was created around the original block. this shell is essentially a set of multiplexers that, during once mode, allows the external port access signals to drive the xdbale, xdbti, iolad, iohad, wr , and rd signals on the internal microcontroller interface. 6.12 special instructions for using the lucent 80c32 block there are some differences in operation between the lucent 80c32 block and a standard 80c32. attention must be paid to these differences in order to ensure trouble-free operation.
24 24 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.13 port configuration the lucent technologies 80c32 i/o ports are con- trolled by a direction register that determines whether the port is an input or output. normal instruction and data accesses will operate properly without writing to the direction registers. however, in order to use the ports as inputs or outputs, the direction registers must be set accordingly. writing a 0 to the corresponding bit of the direction register will configure the pin as an out- put, and the content of the port latch will be driven onto the pin. writing a 1 to the corresponding bit of the direc- tion register will configure the pin as an input. the direction registers reside in an unused area of the sfr address space of the 80c32 at the addresses shown in table 17. 6.13.1 ports 0 and 2 in the ntn, ports 0 and 2 are dedicated to accessing memory, and therefore, no action is required with regard to the setting of the direction control registers. 6.13.2 port 1 port 1 is not available on the ntn device, with the exception of p1.0, which is used as the timer 2 input when bit gpaf1[gpaf1.7] is set. this is the only allowed use for p1.0 on the ntn device, and therefore, bit 0 in the port 1 direction register must be set to 1 to configure this bit as an input. this is the default on the 80c32 block. note that p1.1 is not available on the 80c32 block. normally, this pin can be used as the t2ex signal for timer 2 on an 80c32. since this input is not available on the ntn, the timer 2 functions that are normally controlled by the t2ex input are not accessible on the ntn. also note that on a standard 80c32, timer 2 has a pro- grammable clock out mode in which p1.0 is used to output a square wave whose frequency is controlled by timer 2. since p1.0 can only be used as the timer 2 input on the ntn, this mode is not allowed. 6.13.3 port 3 all of the pins on port 3 are used by the ntn device. the following is a summary of the usage requirements for the pins of port 3: n p3.1, p3.0. the ntn device allows p3.1 and p3.0 to be used as general-purpose i/o in addition to their primary purpose of supporting uart connections via the rxd and txd functions. in this case, the corre- sponding bits in the port 3 direction register must be set according to the use of the pins. n p3.3, p3.2. the ntn device uses p3.3 and p3.2 as general external interrupt sources xint1 and xint0 . therefore, bits 3 and 2 in the port 3 direction register must be set to 1 to configure these bits as inputs. n p3.5, p3.4. the only allowed use for these bits on the ntn device is as the timer 1 and timer 0 inputs (when bits gpaf1[gpaf1.6] and gpaf1[gpaf1.5] are set, respectively). therefore, bits 5 and 4 in the port 3 direction register must be set to 1 to configure these bits as inputs. this is the default state on the 80c32 block. n p3.7, p3.6. the only allowed use for these bits on the ntn device is as the wr and rd outputs. since normal instruction and data accesses will operate properly without writing to the direction registers, bits 7 and 6 in port 3 direction register are dont cares. table 17. port direction registers direction control register port # sfr address default value default state port 0 0xa4 ffh input port 1 0xa5 ffh input port 2 0xa6 00h output port 3 0xa7 ffh input
lucent technologies inc. 25 advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.14 serial port timing as per the intel * 80c32 data book, there are two inputs to the uart module, txclock and rxclock, which control the transmission and reception of serial data, respectively. for each of these inputs, it is possible to independently select either timer 1 or timer 2 as the source. this selection is controlled by the rclk and tclk bits in the sfr register t2con, which controls the mode of operation of timer 2. the rclk/tclk options are shown in table 18. table 18. standard 80c32 rclk/tclk options the uart module in the lucent 80c32 has only one clock input, which is used to control both reception and trans- mission. this limitation results in the following truth table (table 19), which illustrates that both rxclock and txclock must be drawn from the same source, either timer 1 or timer 2, depending on the value selected for tclk. table 19. lucent 80c32 rclk/tclk options the only cases impacted are cases where the uart transmission and reception functions have to be performed with different clocks. completely independent selection of rxclock and txclock is not possible, as is seen by com- paring table 18 and table 19. * intel is a registered trademark of intel corporation. rclk tclk rxclock txclock 0 0 timer 1 timer 1 0 1 timer 1 timer 2 1 0 timer 2 timer 1 1 1 timer 2 timer 2 rclk tclk rxclock txclock 0 0 timer 1 timer 1 1 1 timer 2 timer 2
26 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.15 external program memory characteristics table 20. external program memory characteristics (use with figure 4 through figure 6.) each timing symbol has five characters. the first character is always a t (time). the other characters, depending on their positions, stand for the name of a signal or the logical status of that signal. the following list identifies each character: t a = 0 c to 70 c, v cc = 5 v 10%; v ss = 0 v; load capacitance for port 0, ale, and psen = 100 pf; load capac- itance for all other outputs = 80 pf. character meaning character meaning a address q output data cclockr rd signal d input data t time h logic level high v valid i instruction (program memory contents) w wr signal l logic level low, or ale x no longer a valid logic level p psen zfloat symbol parameter min max unit 1/tclcl oscillator frequency 15.36 mhz tavdv address valid to valid data in 9tclcl C 100 ns taviv address valid to valid instruction in 3tclcl C 100 ns tavll address valid to ale low tclcl C 40 ns tavwl address to rd or wr low 4tclcl C 40 ns tlhll ale pulse width 2tclcl C 40 ns tllax address hold after ale low tclcl C 35 ns tlldv ale low to valid data in 8tclcl C 100 ns tlliv ale low to valid instruction in 4tclcl C 100 ns tllpl ale low to psen low tclcl C 25 ns tllwl ale low to rd or wr low 3tclcl C 50 3tclcl + 50 ns tplaz psen low to address float 20 ns tpliv psen low to valid instruction in 3tclcl C 100 ns tplph psen pulse width 3tclcl C 40 ns tpxav psen to address valid tclcl C 8 ns tpxix instruction hold after psen 0 ns tpxiz instruction float after psen tclcl C 20 ns tqvwh data valid to write high 7tclcl C 100 ns tqvwx data valid to write transition tclcl C 50 ns trhdx data hold after rd 0 ns trhdz data float after rd 2tclcl C 50 ns trlaz rd low to address float 20 ns trldv rd low to valid data in 5tclcl C 100 ns trlrh rd pulse low 6tclcl C 50 ns twhlh rd or wr high to ale high tclcl C 40 tclcl + 40 ns twhqx data hold after wr tclcl C 50 ns twlwh wr pulse low 6tclcl C 50 ns
lucent technologies inc. 27 advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.15 external program memory characteristics (continued) 5-8335(f) figure 4. external program memory read cycle 5-8336(f) figure 5. external data memory read cycle a0 a7 instr a0 a7 a8 a15 ale psen port0 port2 tlhll tplph tlliv taviv tllax tplaz tpxav tpxix tpxiz tavll tpliv tllpl ale port0 port2 a0 a7 data-in a0 a7 p2.0 p2.7 tlhll twhlh tllwl trlrh trldv tllax tavwl trhdx tavll trlaz trhdz tlldv tavdv psen rd
28 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 6 functional modules (continued) 6.15 external program memory characteristics (continued) 5-8334(f) figure 6. external data memory write cycle ale port0 port2 a0 a7 data-out a0 a7 p2.0 p2.7 tlhll twhlh tllwl twlwh tqvwh tllax tavwl twhqx tavll tqvwx psen wr
lucent technologies inc. 29 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock the transmission superblock (tsb) contains all the modules that are directly involved in the transmission of data to/from the s, u, hdlc, or gci+ interfaces. it is comprised of the following modules (contained in a box labeled transmission superblock in figure 1). n u blockthis module provides the nt-mode and lt-mode u-interface function. n s blockthis module provides the nt-mode s/t-interface function. n data flow/activation control (dfac)this module manages the data flow between the u, s, hdlc, and gci+ interfaces. in addition, it serves as the central control element for activation/deactivation of the s and u blocks, and implements the embedded operation channel (eoc) processing state machine. n hdlcthis module provides the hdlc controller function for d-channel access. n gci+this module provides the gci+ interface for external components such as codecs. 7.1 u-interface block (u block) the isdn u-interface block offers the following features: n conforms to etsi ts 080 and ansi t1.601 stan- dards in both lt and nt operation. n meets loop range requirement per the british tele- com * specification bt rc7355d. n single pulse and iloss output modes for test sup- port. n manual/auto activation, manual/auto dying gasp (power status indication), and manual/auto activation of the eoc control. n m4 control and status bits incorporate 3x (trinal) bit filtering. the primary interface to this block is provided via the dfac module (see section 7.3, data flow/activation control module (dfac)). a bank of registers contained in the dfac module defines the operation of the u- interface. * british telecom is a trademark of british telecommunications plc. 7.2 s/t-interface block (s block) the isdn s/t-interface block offers the following fea- tures: n conforms to itu-t i.430, etsi 300-012, and ansi t1.605 standards for the network termination (nt) side of the network. n fixed/adaptive timing modes under microcontrol, or pin control, defaulting to adaptive timing from a reset state. n provides knowledge of the s/t-interface activation state to the microcontroller by supplying info-1 and info-3 state information. n manual/auto activation, multiframing (s and q chan- nels), and pots d-channel contention resolution. n microcontrolled powerdown feature supports a scan mode that looks for activity on the s/t-interface. n supports point-to-point and multipoint arrangement. data to/from this block is provided by/to the dfac. a bank of registers contained in the dfac module defines the operation of the s/t-interface.
30 30 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.3 data flow/activation control module (dfac) this module provides the following functions: n s/t-interface and u-interface activation/deactivation control. n u-interface management. m4 bit filtering. automatic/manual eoc channel control. register interface. activation/deactivation management. n s/t-interface management. register interface. activation/deactivation management. n data flow functions: mapping of b1-, b2-, and d-channel data between s/t bus and u bus. mapping of d-channel data between the hdlc transmitter module and the u bus. mapping of b1- and b2-channel data between the gci+ interface and the u bus. 7.3.1 eoc state machine (eocsm) eocsm module processes the downstream eoc. the received eoc data/message is transferred to the microcontroller. the upstream eoc channel may be directly controlled by the microcontroller (dfcf[autoeoc = 0]) or automatically generated by the eocsm as shown in figure 7. 7.3.2 automatic eoc (autoeoc) mode in the automatic eoc (autoeoc) mode, the down- stream eoc messages are interpreted and acted upon by the ntn with no need for microcontroller interven- tion. the appropriate upstream response is automati- cally generated. the set of eoc messages supported by the ntn are those defined in etsi ts 080 and ansi t1.601, and are shown in table 21. 7.3.3 manual eoc mode in the manual eoc mode, the microcontroller is responsible for interpreting the downstream eoc mes- sage, taking the appropriate action, and responding correctly in the upstream direction. in both manual and autoeoc modes, the ntn stores the most recent downstream eoc contents in registers esr0 and esr1. the microcontroller can be inter- rupted on either a single change in the eoc contents (see bit uir[eocsc]) or a trinal-checked change in the eoc contents (see bit uir[eoc3sc]). actions in response to the standard set of messages shown in table 21 can be taken by writing to register ecr0[7:4]. the microcontroller writes the upstream eoc response to registers ecr0[3:0] and ecr1[7:0]. the half-super- frame interrupt uir[rhsf] can be used to determine the correct eoc message timing. all actions are latched, permitting multiple eoc-initi- ated actions to be in effect simultaneously. the transi- tion of transmission system through either receiver reset or full reset states releases all the outstanding eoc-controlled operations, and resets the eoc pro- cessor to return-to-normal.
lucent technologies inc. 31 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.3 data flow/activation control module (dfac) (continued) 7.3.3 manual eoc mode (continued) table 21. autoeoc = 1 messages (data/messages = 1) that initiate actions note: eoc_up = eoc upstream contents. eoc_dn = eoc downstream contents. 5-6505bf figure 7. downstream eoc analysis (autoeoc = 1) and upstream eoc processing message code message 0101 0000 operate 2b+d loopback 0101 0001 operate b1 loopback 0101 0010 operate b2 loopback 0101 0011 request corrupted crc 0101 0100 notify of corrupted crc 1111 1111 return to normal 0000 0000 hold state three consecutive identical messages address = 000 or 111 message autoeoc = 0 eoc_up = microcontroller_eoc eoc_up = echo eoc_up = unable_to_comply eoc_up = echo yn yn yn initiate actions n supported eoc_up = hold_state y
32 32 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.3 data flow/activation control module (dfac) (continued) 7.3.4 data flow control figure 8 shows the high-level view of the 2b+d data flow. the downstream buffer (db) and upstream buffer (ub) submodules control the downstream and upstream paths, respectively. when the b-channel data flow is configured to be between the u-interface and the gci interface, the cor- responding s/t-interface channel is disabled. the con- verse is also true, i.e., when the data flow is between the s- and u-interfaces, the corresponding gci+ inter- face channel is disabled. the d-channel packets are never passed to the gci interfaces. all d-channel packets are passed to the s/t-interface. the packets are passed to the hdlc module depend- ing on the address recognition configuration, see sec- tion 9.3, hdlc receiver. 5-6507f figure 8. 2b+d data flow block diagram 7.4 microcontroller access to upstream and downstream b1 and b2 channels the microcontroller can write into b1up register 51h the content it wants to be transferred on the u-interface upstream b1 channel (assuming dfr[u_force_b1up] = dfr[b1_sel] = 1 and ecr0[lb1] = 0). in this way, the microcontroller can process the upstream gci information (such as imple- menting a bit-robbing algorithm on pair-gain applica- tions). similarly, the content of the u-interface downstream b1 channel is available to the microcontroller by reading b1dn register 53h. the microcontroller can break the normal data flow from u-interface to gci, by writing into the b1dn register the content it wants to be sent to the gci downstream b1 channel (assuming that gcof2[u_force_b1dn] = dfr[b1_sel] = 1 and ecr0[lb1] = 0). the b1up register (51h) and b1dn register (53h) are both read/write registers. hence, data can be read from these registers and also written into them for transmit- ting in the proper direction. the microcontroller can write into b2up register 52h the content it wants to be transferred on the u-interface upstream b2 channel (assuming dfr[u_force_b2up] = dfr[b2_sel] = 1 and ecr0[lb2] = 0). similarly, the content of the u-interface downstream b2 channel is available to the microcontroller by reading b2dn register 54h. the microcontroller can break the normal data flow from u-interface to gci, by writing into the b2dn register the content it wants to be sent to the gci downstream b2 channel (assuming that gcof2[u_force_b2dn] = dfr[b2_sel] = 1 and ecr0[lb2] = 0). the following table summarizes the microcontroller access to upstream and downstream b1 and b2 chan- nels: dfr[pfsx_act] and dfr[bx_sel] need to be set to 1 and ecr0[lbx] needs to be set to 0 in order to acti- vate these functions. 7.5 lt mode the T9000 device can also be operated in lt mode. setting the register bit docr[nt_lt] to 1 changes the T9000 from nt operational mode to lt operational mode. when the device is operating in lt mode, an 8 khz master transmit clock (mtc) must be provided as an input on gpio2.6. rx tx tx rx rx tx rx tx db ub gci block s/t block u block 2b 2b 2b+d 2b+d 2b+d 2b+d dd loopback hdlc block bxup wr bxdn rw u_force _bxup 10 u_force _bxdn 01 action b-channels on the u-interface are accessed. upstream registers are write only, downstream reg- isters are read only. b-channels on the gci/ tdm registers are accessed. upstream registers are read only, downstream registers are write only.
lucent technologies inc. 33 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set table 22. dfcf: dfac configuration register (0x05) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 dfcf r/w iloss usimrst ureset uoads act_ansi autoeoc greset reset default 0 0 0 0 1 0 1 0 bit symbol name/description 7iloss insertion loss test control. causes the u-interface transmitter to continuously transmit the sequence sn1. the u-interface transceiver remains reset during this mode. 0: no effect on device operation. 1: u transmitter sends sn1 tone continuously. 6 usimrst special simulation reset for u-block. this signal causes assertion of a special reset that is used for fac- tory testing of the u block. this bit should always be programmed to 0. 0: no effect on device operation. 1: u-block simulation reset (nonlatching-value readback will always be 0). 5 ureset u transceiver reset. assertion of this bit halts u-interface data transmission and clears adaptive filter coefficients. during ureset, the u transmitter produces 0 v. the microcontroller may use this bit to put the u-interface in a quiet mode for maintenance as described in ansi t1.601 section 6.5. in addition, this bit should be asserted whenever return loss and longitudinal balance measurements are being made on the u-interface. 0: no effect on device operation. 1: u block is held in reset (nonlatching-value readback will always be 0). 4 reserved. program to 0. 3 uoads uoa default state. during activation, the bits uoa_n and oof_n become transparent at the same time (at u-interface synchronization time), but uoa_n is filtered for three occurrences before being acted upon, and hence, a direct transition to the uoa state is not possible. to satisfy this etsi etr 080 requirement, the uoads bit allows the ntn to default to the presynchronization value of uoa_n to 0. upon synchronization, if uoads = 0 is received, a transition to the uoa state occurs, because the 3-time filtering criteria is satis- fied. uoads defaults to 1, meaning that u-only activation, at start-up, causes the u-interface to fully syn- chronize and then a transition to the uoa state occurs. it is recommended that uoads be programmed to 1. 2 act_ansi act mode select. controls the state of the transmitted act bit when an eoc loopback 2 (2b+d) is requested. the loopback occurs automatically if autoeoc bit is set. otherwise, bit u2bdlt must be set to 0. 0: act = 1 during loopback 2 after info3 is recognized at the s/t-interface (per etsi etr 080). the data received by the nt is not looped back towards the lt until after act = 1 is received from the lt. prior to this time, 2b+d data toward the lt is all 1s. 1: act = 0 during loopback 2 (per ansi t1.601). the data received at the nt is looped back towards the lt as soon as the 2b+d loopback is enabled. 1 autoeoc automatic eoc processor enable. enables eoc state machine which implements eoc processing per etsi etr 080 (see section 7.3.1, eoc state machine (eocsm) for details on the eoc state machine operation). the eoc state machine only responds to the addresses 000 and 111 as valid addresses. 0: eoc state machine disabled. 1: eoc state machine enabled. 0 greset global software reset. assertion of this bit resets all internal modules except the 80c32 to their default states. u-macro adaptive filter coefficients are cleared. since performing a greset also resets this bit to its default state, it is not necessary to write it back to a 0 after writing a 1. 0: no effect on device operation. 1: reset all circuitry except internal 80c32.
34 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 23. dfr: data flow register (0x06) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 dfr r/w u_force_b2up u_force_b1up force_d pfs2_act pfs1_act b2_sel b1_sel bswap reset default 0 0 0 0 0 0 0 0 bit # symbol name/description 7 u_force_b2up microcontroller access to upstream b2 channel. when this bit is set, the microcontroller can access the upstream b2-channel data from the gci to the u-interface via the register b2up (0x52) assuming that dfr[b2_sel] = 1 and ecr0[lb2] = 0. 6 u_force_b1up microcontroller access to upstream b1 channel. when this bit is set, the microcontroller can access the upstream b1-channel data from the gci to the u-interface via the register b1up (0x51) assuming that dfr[b1_sel] = 1 and ecr0[lb1] = 0. 5 force_d force local d-channel access. when this bit is asserted, d-channel arbitration is disabled and upstream access to the d channel is granted exclusively to the local hdlc controller. 0: normal operation. upstream d-channel arbitration is automatically provided (with an equal priority) between the local hdlc controller and the upstream d channel from the s/t-interface. 1: upstream d-channel access is granted exclusively to the hdlc controller. 4 pfs2_act programmable frame strobe-2 output enable on gci+ interface. see section 10, gci+ inter- face module for detailed information. 0: function pfs2 is disabled. fs2 output drives a zero level. data downstream (dd) pin is 3-stated during the corresponding time slot. 1: pfs2 is enabled. 3 pfs1_act programmable frame strobe-1 output enable on gci+ interface. see gci+ section for detailed information. 0: function pfs1 is disabled. in tdm mode, fs1 output drives a zero level. in gci mode, gpio2.2 drives a zero level (assuming gpaf1[gpaf2.2] = 1). data downstream (dd) pin is 3-stated during the corresponding time slot. 1: pfs1 is enabled and will be output on pin fs1 (in tdm mode) or gpio2.2 (in gci mode, assuming gpaf1[gpaf2.2] = 1). 2 b2_sel u-interface b2-channel source/destination. 0: u-interface b2 channel to/from s/t-interface. 1: u-interface b2 channel to/from gci+ interface (or microcontroller if u_force_b2up is set). 1 b1_sel u-interface b1-channel source/destination. 0: u-interface b1 channel to/from s/t-interface. 1: u-interface b1 channel to/from gci+ interface (or microcontroller if u_force_b1up is set). 0 bswap b-channel swap on gci+ interface. no effect on device operation unless either b1_sel = 1 or b2_sel = 1. see gci+ interface section for details on the assignment of b channels to gci+ time slots. 0: normal operation. 1: when b1_sel = 1, the u-interface b1 channel source/destination is the channel on which the b2 channel is assigned on the gci+ interface. when b2_sel = 1, the u-interface b2-channel source/destination is the channel on which the b1 channel is assigned on the gci+ interface.
lucent technologies inc. 35 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 24. ucr0: u-interface control register #0 (0x07) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ucr0 r/w ntm_n ps1 ps2 sai xpcy f_actup actup istp dea uoa f_actdn actdn reset default 1 1 1 0 0 0 0 0 bit # symbol name/description 7 ntm_n nt test mode. controls upstream u-interface overhead bit ntm. 0: ntm = 0, indicates the nt is in test mode. 1: ntm = 1, normal operation. 6ps1 power status 1. controls upstream u-interface overhead bit ps1. (see ps2 below.) dea deactivate. when the T9000 device is put in lt mode (docr[nt_lt] = 1), this bit becomes the dea (turn-off) bit. 5ps2 power status 2. controls upstream u-interface overhead bit ps2. according to etsi etr 080, ps1 and ps2 indicate the nt power status as follows: ps1 ps2 power status 0 0 dying gasp. 0 1 primary power out. 1 0 secondary power out. 1 1 all power normal. 4sai s/t-interface activity indicator control. controls upstream u-interface overhead bit sai. according to etsi etr 080, the sai bit is set to 1 to indicate to the network that there is activity (info 1 or info 3) at the s/t reference point. otherwise, it is set to 0. 0: sai follows activity on s/t-interface per etr 080. 1: forces sai = 1 on the u-interface. uoa u-interface only activation. when the T9000 device is put in lt mode (docr[nt_lt] = 1), this bit becomes the uoa (u-only-activation) bit. this bit needs to be set to 1 to allow s/t activation at the nt. 3 xpcy force u-block upstream data transparency. asserts u-block xpcy bit, forcing u-block upstream 2b+d data transparency. 0: no effect on device operation. 1: forces u-block data transparency. 2 f_actup force u-interface upstream act bit. normally, the state of the upstream act bit tracks the received info3 state on the s-interface. however, in cases where there is no te attached, this bit allows manual control of the upstream act bit (via the actup bit, below). 0: act bit follows info 3. 1: act bit follows actup bit (see actup below). f_actdn force u-interface downstream act bit. when the T9000 device is put in lt mode (docr[nt_lt] = 1), this bit controls the downstream act bit (via the actdn bit, described below). 0: downstream act bit is zero. 1: forces the value of actdn bit (described below) to be transferred downstream. 1 actup act upstream. only valid when f_actup bit is set (see f_actup above). it controls the state of the upstream u-interface act bit. 0: forces upstream act bit = 0. 1: forces upstream act bit = 1. actdn act downstream bit. when the T9000 device is put in lt mode (docr[nt_lt] = 1), this bit controls the state of the downstream u-interface act bit. 0: forces downstream act bit = 0. 1: forces downstream act bit = 1.
36 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 24. ucr0: u-interface control register #0 (0x07) (continued) table 25. ucr1: u-interface control register #1 (0x08) bit # symbol name/description 0 istp initiate start-up. setting this bit to 1 initiates a start-up sequence on the u-interface. after the activation attempt, this bit is internally cleared to 0, automatically. 0: no effect on device operation. 1: attempt one u activation. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ucr1 r/w r64t r25t r16t r15t ulbkmux ullbk uspmag ussp_e reset default 1 1 1 1 0 0 0 0 bit # symbol name/description 7r64t transmit reserved bit. controls upstream u-interface overhead bit r64. 6r25t transmit reserved bit. controls upstream u-interface overhead bit r25. 54 r[16:15]t transmit reserved bits. controls upstream u-interface overhead bits r16 and r15. 3ulbkmux u-interface local loopback mux. controls the point at which the u-interface local loopback takes place when the ullbk bit (see below) is asserted. 0: u local loopback occurs at the line interface (line must be disconnected during this operation). 1: u local loopback occurs at the interface between the digital and analog section of the u block. line need not be disconnected during this operation. 2ullbk u-interface local loopback. controls loopback of u-interface data stream at either the line interface or the digital-to-analog boundary in the u block, depending on the ulbk- mux bit (see above). ullbk turns off the echo canceller and reconfigures the receive scrambler to match the transmit scrambler. if ulbkmux = 0, the line should be discon- nected prior to asserting ullbk. this ensures that a sufficiently large echo is generated so that the device can detect the echo as received data and synchronize to it. 0: no effect on device operation. 1: u-interface local loopback. 1uspmag u single pulse magnitude. controls the magnitude of the pulse transmitted on the u-interface when the device is in the u send single pulse test mode (see below). 0: transmit 3 pulses. 1: transmit 1 pulses. 0 ussp_e u send single pulse enable. test mode that causes the u-interface to continuously transmit single 2b1q pulses on the u-interface. the pulses occur at a rate of 1 pulse per 125 m s and alternate between positive and negative polarity. the magnitude of the pulses is controlled by uspmag (see above). 0: no effect on device operation. 1: send single pulses on the u-interface.
lucent technologies inc. 37 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 26. usr0: u-interface status register #0 (0x09) table 27. usr1: u-interface status register #1 (0x0a) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 usr0 r aib_n febe_n nebe_n uoa_n dea_n oof_n xact actdn resetdefault 11111000 bit # symbol name/description 7aib_n alarm indication bit. filtered (3x) version of downstream u-interface overhead bit aib. 6 febe_n far-end block error. indicates whether a crc error was detected in the most recent u-interface received superframe at the far end. 0: crc error in most recent far-end u superframe. 1: no crc error detected at far end. 5 nebe_n near-end block error. indicates whether a crc error was detected in the most recent u-interface received superframe. 0: crc error in most recent received u superframe. 1: no crc error detected in most recent received u superframe. 4uoa_n u-interface only activation. filtered (3x) version of downstream u-interface overhead bit uoa. 3dea_n deactivation indication bit. filtered (2x) version of downstream u-interface overhead bit dea. 2 oof_n out of frame. indicates whether synchronization has been achieved on the u-interface. 0: u-interface out of frame. 1: u-interface is synchronized (sws and isws are being properly detected). 1 xact u-transceiver active. 0: transceiver is idle. no start-up requests are active. u block is in a low-power mode, and line driver is in a high-impedance power-saving mode. 1: transceiver starting up or active. 0 actdn downstream activation bit. filtered (3x) version of downstream u-interface overhead bit act. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 usr1 r r64r r54r r44r r34r r25r r16r r15r resetdefault 1111111 bit # symbol name/description 7 reserved. 63 r[6:3]4r receive u bits. filtered (3x) version of downstream u-interface overhead bits r64, r54, r44, and r34. 2r25r receive u bit. filtered (3x) version of downstream u-interface overhead bit r25. 10 r[16:15]r receive u bits. filtered (3x) version of downstream u-interface overhead bits r16 and r15.
38 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 28. ecr0: eoc control register 0command and address (0x0b) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ecr0 r/w ccrc ld lb2 lb1 a1t a2t a3t dmt resetdefault 00000001 bit # symbol name/description 7 ccrc corrupt cyclic redundancy check. used to corrupt the crc information transmitted to the far end. this value is ored with the ccrc control output generated by the eoc state machine (see eccrc bit in register esr0). 0: crc is generated correctly. 1: crc is corrupted. 6ld u-interface d-channel loopback control. implements a d-channel loopback. this value is ored with the 2b+d loopback control output generated by the eoc state machine (see elbk2 bit in register esr0). 0: no loopback. 1: d-channel transparent loopback from u-interface receiver to transmitter. 5lb2 u-interface b2-channel loopback control. implements a b2-channel loopback. this value is ored with the 2b+d and b2 loopback control outputs generated by the eoc state machine (see elbk2 and elb2 bits in register esr0). 0: no loopback. 1: b2-channel transparent loopback from u-interface receiver to transmitter. 4lb1 u-interface b1-channel loopback control. implements a b1-channel loopback. this value is ored with the 2b+d and b1 loopback control outputs generated by the eoc state machine (see elbk2 and elb1 bits in register esr0). 0: no loopback. 1: b1-channel transparent loopback from u-interface receiver to transmitter. 31 a[1:3]t transmit eoc address. these bits are transmitted as the eoc channel address when in manual eoc mode. they have no effect when in autoeoc mode. a1t is the first bit transmitted. 000: nt address. 111: broadcast address. 0dmt transmit eoc data or message indicator. this bit is transmitted as the eoc channel data/message indicator when in manual eoc mode. it has no effect when in autoeoc mode. i1t is the first bit transmitted. 0: data. 1: message.
lucent technologies inc. 39 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 29. ecr1: eoc control register 1message (0x0c) table 30. esr0: eoc status register 0command and address (0x0d) table 31. esr1: eoc status register 1 message (0x0e) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ecr1 r/w i1t i2t i3t i4t i5t i6t i7t i8t resetdefault 11111111 bit # symbol name/description 70 i[1:8]t transmit eoc information. these bits are transmitted as the eoc channel message when in manual eoc mode. they have no effect when in autoeoc mode. i1t is the first bit transmitted. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 esr0 r eccrc elbk2 elb2 elb1 a1r a2r a3r dmr resetdefault 00001111 bit # symbol name/description 7 eccrc eocsm ccrc bit. this bit contains the value of the ccrc output from the eoc state machine (eocsm), and is valid in both auto and manual eoc modes. it provides a way to monitor the current output of the eocsm. 6elbk2 eocsm lbk2 bit. this bit contains the value of the loopback-2 (2b+d) output from the eocsm, and is valid in both auto and manual eoc modes. it provides a way to monitor the current output of the eocsm. 5elb2 eocsm lb2 bit. this bit contains the value of the b2 output from the eocsm, and is valid in both auto and manual eoc modes. it provides a way to monitor the current output of the eocsm. 4elb1 eocsm lb1 bit. this bit contains the value of the b1 output from the eocsm, and is valid in both auto and manual eoc modes. it provides a way to monitor the current output of the eocsm. 31 a[1:3]r receive eoc address. these bits contain the most recently received eoc address and are valid in both auto and manual eoc modes. 0dmr receive eoc data/message indicator. this bit contains the most recently received eoc data/message bit and is valid in both auto and manual eoc modes. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 esr1 r i1r i2r i3r i4r i5r i6r i7r i8r resetdefault 11111111 bit # symbol name/description 70 i[1:8]r receive eoc information. these bits contain the most recently received eoc channel message or data and are valid in both auto and manual eoc modes.
40 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 32. scr0: s-interface control register #0 (0x0f) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 scr0 r/w stoa fact ft mf_e st_e sreset resetdefault 00000010 bit # symbol name/description 76 reserved. program to 0. 5stoa s/t-only activation. this bit allows the s/t-interface to perform a normal activation independent of the state of the u-interface. the s block will behave as if synchronization has been achieved on the u-inter- face and the downstream u-interface act bit has been received. it will reach its full activation state (g3, transmitting info4) only if a te is attached. note the difference in function between this bit and fact, below. 0: normal operation. 1: allows s/t activation independent of the u-interface state. when stoa is cleared to zero, the sreset bit must be asserted. if a u-interface activation occurs while stoa is active, stoa must be deasserted before any further u-activation attempts will be recog- nized by the device. 4 fact s/t force activation. this bit forces the s/t-interface to proceed directly to its full activation state (g3, transmitting info4) regardless of whether a te is attached or what the state of the u-interface is. this may be useful for test purposes. note the difference in function between this bit and stoa, above. in order for this bit to have any effect, the s/t-interface must be enabled. 0: normal operation. 1: forces s block to transmit info4. if a u-interface activation occurs while fact is active, fact must be deasserted before any further u- activation attempts will be recognized by the device. 3ft fixed/adaptive timing selection. determines whether the s/t-interface receiver uses fixed or adap- tive timing. 0: adaptive timing. when this bit is set to 0, incoming data at the s/t-interface is sampled at a point defined by an adaptive timing algorithm. this mode is used in point-to-point configuration (only 1 te) or a multi-te configuration on an extended passive bus, where the round-trip delay can vary from 10 m s to 42 m s, but the differential delay between various tes is less than 2 m s. 1: fixed timing. when this bit is set to 1, incoming data at the s/t-interface is sampled with a fixed delay relative to the s/t transmitter clock. this mode is used in a multi-te configuration with a short passive bus, where the round-trip delay variations are 10 m s to 14 m s. 2mf_e s/t-interface multiframing enable. enables the multiframing controller and allows the microcontroller to access the s and q channels. when disabled, multiframing is not implemented (the device transmits all 0s in the fa and m bit positions and all 1s in the s bit positions to the te). also register bits mfr0(3:0) are forced to 1 and mfr1(3:0) are forced to 0 when multiframing is disabled. 0: disable multiframing controller. 1: enable multiframing controller. 1st_e s/t-interface enable. this signal enables the s/t-interface. 0: s/t-interface is powered down and disabled. 1: s/t-interface is enabled and can respond to activation attempts. 0sreset s/t-interface reset. writing a one to this bit causes a reset of the s/t-interface, initializing the interface in the same manner as the external reset pin. 0: normal operation. 1: reset s/t-interface (nonlatchingthis bit clears itself and will always be read back as 0).
lucent technologies inc. 41 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 33. scr1: s-interface control register #1 (0x10) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 scr1 r/w rlb_d rlb_b2 rlb_b1 te_da resetdefault 00000000 bit # symbol name/description 75 reserved. program to 0. 4 rlb_d s/t remote loopbackd channel. 0: normal operation. 1: d-channel data received at the s/t-interface is transmitted back to the te. 3rlb_b2 s/t remote loopbackb2 channel. 0: normal operation. 1: b2-channel data received at the s/t-interface is transmitted back to the te. 2rlb_b1 s/t remote loopbackb1 channel. 0: normal operation. 1: b1-channel data received at the s/t-interface is transmitted back to the te. 1te_da timer expired/deactivate. this signal is used to inform the s-block activation state machine that an external timer (normally activation timer t1) has expired or that deacti- vation is requested. it will force deactivation of the s-interface. 0: normal operation. 1: force deactivation of s/t-interface. 0 reserved. program to 0.
42 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 34. ssr: s-interface status register (0x11) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ssr r fserr rxinfo3 rxinfo1 asi2 asi1 asi0 resetdefault 000000 bit # symbol name/description 7 fserr s/t-block receiver frame synchronization error. this bit reflects the current state of the fserr bit from the s/t-block. fserr indicates that a framing error has occurred on the s/t-interface. any type of frame error (including a transition from info2 or info4 to info0) immediately sets fserr = 1. fserr is reset to zero upon completion of an error-free frame. note that bit sir[fserrl] is a latched version of this signal. 65 reserved. 4rxinfo3 receiving info3. this bit tracks the reception of info3 on the s/t-interface. 0: info3 not detected. 1: info3 present. 3rxinfo1 receiving info1. this bit tracks the reception of info1 on the s/t-interface. 0: info1 not detected. 1: info1 present. 20 asi[2:0] s-block g state. these 3 bits reflect the current state of the s/t-block activation state machine. 000: s/t-interface disabled. sending info0. 001: (i.430 g1 state) deactivated. nt and te are deactivated; both are sending info0. 010: (i.430 g2 state) pending activation. nt is transmitting info2 to initiate activation (act bit = 1) and is receiving info0. 011: (i.430 g3 state) activated. nt and te are fully activated; i.e., nt transmitting info4 and receiving info3. 100: (i.430 g4 state) pending deactivation. s/t-interface is sending info0. 101: s/t-interface is receiving info1 and waiting for synchronization on the u-interface before transmitting info2 (i.e., the s/t block has exited state g1 but not yet entered state g2). this is not an i.430-defined state, but is required for nt1 imple- mentation. 110: s/t-interface is receiving info3 and waiting for activation indication (u-interface downstream act = 1) on the u-interface before transmitting info4 (i.e., the s/t block has exited state g2 but not yet entered state g3). this is not an i.430 state, but is required for nt1 implementation. 111: not used.
lucent technologies inc. 43 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 35. mfr0: multiframe register, q-channel data (0x12) table 36. mfr1: multiframe register, s-subchannel data (0x13) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 mfr0 r qd1 qd2 qd3 qd4 reset default 1 1 1 1 bit # symbol name/description 74 reserved. 30 qd[1:4] q-channel data. when multiframing is enabled (scr0[mf_e] = 1), these bits contain the q-channel bits of the most recent complete multiframe. when multiframing is disabled, these bits are set to 1. the interrupt bit sir0[qsc] can be used to notify the microcontroller of the reception of a new q-channel message. in order to avoid having the existing q-channel data overwritten by a new q-channel message, the read operation must be complete within 20 s/t-interface frames of when qsc becomes asserted, that is 5 ms. the order of transmission is q1 first to q4 last. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 mfr1 w ssd1 ssd2 ssd3 ssd4 resetdefault 00000000 bit # symbol name/description 74 reserved. program to 0. 30 ssd[1:4] s-subchannel data, subchannels 1 to 5. when multiframing is enabled (scr0[mf_e] = 1), these bits can be written to transmit data onto the five s subchannels sc1sc5. when mul- tiframing is disabled, these bits are set to 0. the interrupt bit sir[ssrdy] can be used to notify the microcontroller that this register is ready to accept a new set of s-subchannel data. up to 5 nibbles may be written to this register upon reception of the ssrdy interrupt. each successive nibble written will be transmitted on the next available subchannel, and if less than 5 nibbles are written, the remaining subchannels will transmit all 1s. for example, if two nibbles are written, the first nibble will be transmitted on subchannel sc1, the second nibble will be transmitted on subchannel sc2, and all 1s will be transmitted on the remaining sub- channels, sc3sc5. the write operation must be complete within five s/t-interface frames of when ssrdy becomes asserted (1.25 ms). the order of transmission is ssd1 first to ssd4 last.
44 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 37. uir: u-interface interrupt register (0x14) note: all bits in this register are set to 1 upon occurrence of the corresponding interrupt condition, and are cleared to 0 when the register is read. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 uir r rsf rhsf berr actsc ousc eoc3sc eocsc ecnfy resetdefault 00000000 bit # symbol name/description 7rsf receive superframe. this interrupt occurs at the beginning of each downstream u-inter- face superframe, and signifies that a new group of u-overhead bits is available. 6 rhsf receive half superframe. this interrupt occurs just after processing the downstream eoc data/message on the u-interface, i.e., every half superframe (6 ms). this can be useful in the case of any nonstandard use of the eoc channel where it is required to know when new data has arrived. if a response to the incoming eoc message is required (for example, in the case of manual eoc processing), the microcontroller has approximately 1.5 ms to write the response data to registers ecr0 and ecr1 before it is transmitted. 5berr block error. this interrupt occurs on u-superframe boundaries whenever a nebe or febe error has been detected in the previous superframe. the most recent nebe and febe val- ues are available in register usr0. 4actsc downstream activation state change. this interrupt occurs whenever any of the follow- ing bits (found in register usr0) changes state: actdn, xact, oof_n, dea_n, uoa_n, aib_n. 3ousc other u-interface state change. this interrupt occurs whenever any of the following bits (found in register usr1) change state: r15r, r16r, r25r, r34r, r44r, r54r, r64r. 2eoc3sc new trinal-checked eoc message received. this interrupt occurs when a trinal- checked eoc message has been received that is different than the most recent trinal- checked eoc message. 1eocsc new eoc message received. this interrupt occurs whenever the current eoc message is different from the previous eoc message (no trinal-checking is performed). 0 ecnfy eoc corrupt crc notify state change. this is a status bit only. it will not cause an inter- rupt (so it has no corresponding enable bit in register uie); it is for polling only. it is only valid when in autoeoc mode. it provides a way to monitor the current output of the eocsm, and is logically part of the group of bits eccrc, elbk2, elb2, elb1 found in esr0.
lucent technologies inc. 45 advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 38. uie: u-interface interrupt enable (0x15) this register contains enable bits for the interrupts in register uir. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 uie r/w rsfe rhsfe berre actsce ousce eoc3sce eocsce reset default 0 0 0 0 0 0 0 bit # symbol name/description 7rsfe rsf interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 6 rhsfe rhsf interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 5 berre berr interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 4actsce actsc interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 3 ousce ousc interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 2eoc3sce eoc3sc interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 1eocsce eocsc interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 0
46 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 7 transmission superblock (continued) 7.6 dfac register set (continued) table 39. sir: s-interface interrupt register (0x16) note: all defined bits in this register are set to 1 upon occurrence of the corresponding interrupt condition, and are cleared to 0 when the register is read. table 40. sie: s-interface interrupt enable register (0x17) this register contains enable bits for the interrupts in register sir. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 sir r ssc fserrl qsc ssrdy resetdefault 0 0 0 0 bit # symbol name/description 74 reserved. 3ssc s-interface activation state change. this interrupt occurs whenever any one of the rxinfo3, rxinfo1, and asi[2:0] bits in register ssr changes state. 2fserrl s-interface receiver frame synchronization error, latched. this interrupt occurs on the rising edge of the fserr signal from the s block (see bit ssr[fserr]), and is reset when read. note that this interrupt will occur only when fserr transitions from 0 to 1. if the fserr condition persists after reading this bit, it will not cause this bit to be set again until fserr goes away, and then transitions to 1 again. to poll the current state of fserr, bit ssr[fserr] can be used. 1qsc s-interface q bit change. this interrupt occurs to signal that a complete q-channel nibble has been received and is available in register mfr0. 0ssrdy s-interface ready to accept new s-channel nibble. this interrupt occurs to signal that the current s-subchannel nibbles have been transmitted and a new set may be written to register mfr1. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 sie r/w ssce fserrle qsce ssrdye resetdefault 00000 0 00 bit # symbol name/description 74 reserved. program to 0. 3ssce ssc interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 2 fserrle fserrl interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 1qsce qsc interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 0 ssrdye ssrdy interrupt enable. 0: interrupt disabled. 1: interrupt enabled.
lucent technologies inc. 47 advance data sheet april 2000 isdn network termination node (ntn) device T9000 8 device operation control 8.1 device operation register table 41. docr: device operation control register (0x50) * siemens is a trademark of siemens aktiengesellschaft. table 42. b1up: b1-channel upstream data from gci to u-interface (0x51) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 docr r/w force_sai_std bs_e nt_lt resetdefault 0 0000000 bit # symbol name/description 7force_sai_std force sai bit to follow etsi standard. controls the value of the upstream sai bit, as may be required when conformance testing with a siemens * k1404 u-inter- face tester. 0: when this bit is set to 0, the sai bit upstream remains high during the period from rxinfo1 going low to rxinfo3 going high, so the siemens k1404 will not initiate u-only activation when te-initiated activation is being tested. 1: when this bit is set to 1, the sai bit remains low conforming to the etsi etr 080 standard. 6 bs_e backswing suppresion enable. this bit enables the backswing suppression fea- ture on the s/t-interface. it is recommended that this bit be programmed to 0. 0: backswing suppression enabled. 1: backswing suppression not used. 54 reserved. program to 0. 3nt_lt nt or lt operation of the ntn device. this bit selects the nt or lt operation of the device. this bit defaults to 0, selecting nt mode. when programmed to 1, the ntn device is in lt mode. when set to lt mode, gpio2.6 is the input (regardless of the gpdir2 value) for the 8 khz mtc signal. 20 reserved. program to 0. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 b1up r/w b1up7 b1up6 b1up5 b1up4 b1up3 b1up2 b1up1 b1up0 resetdefault bit # symbol name/description 70 b1up[7:0] b1-channel upstream data. when dfr[u_force_b1up] = 1, dfr[b1_sel] = 1, and ecr0[lb1] = 0, the microcontroller can write into this register the content it wants to be transferred on the upstream b1 channel from gci to the u-interface.
48 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 8 device operation control (continued) 8.1 device operation register (continued) table 43. b2up: b2-channel upstream data from gci to u-interface (0x52) table 44. b1dn: b1-channel downstream data from u-interface to gci (0x53) table 45. b2dn: b2-channel downstream data from u-interface to gci (0x54) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 b2up r/w b2up7 b2up6 b2up5 b2up4 b2up3 b2up2 b2up1 b2up0 reset default bit # symbol name/description 70 b2up[7:0] b2-channel upstream data. when dfr[u_force_b2up] = 1, dfr[b2_sel] = 1, and ecr0[lb2] = 0, the microcontroller can write into this register the content it wants to be transferred on the upstream b2 channel from gci to the u-interface. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 b1dn r/w b1dn7 b1dn6 b1dn5 b1dn4 b1dn3 b1dn2 b1dn1 b1dn0 resetdefault bit # symbol name/description 70 b1dn[7:0] b1-channel downstream data. when gcof1[u_force_b1dn] = 1, dfr[b1_sel] = 1, and ecr0[lb1] = 0, the microcontroller can write into this register the content it wants to be transferred on the downstream b1 channel from gci to the u-interface. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 b2dn r/w b2dn7 b2dn6 b2dn5 b2dn4 b2dn3 b2dn2 b2dn1 b2dn0 resetdefault bit # symbol name/description 70 b2dn[7:0] b2-channel downstream data. when gcof2[u_force_b2dn] = 1, dfr[b2_sel] = 1, and ecr0[lb2] = 0, the microcontroller can write into this register the content it wants to be transferred on the downstream b2 channel from gci to the u-interface.
lucent technologies inc. 49 advance data sheet april 2000 isdn network termination node (ntn) device T9000 8 device operation control (continued) 8.1 device operation register (continued) table 46. reserved 1: reserved register for internal use (0x55) table 47. reserved 2: reserved register for internal use (0x56) table 48. reserved 3: reserved register for internal use (0x57) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved1 r resetdefault bit # symbol name/description 70 reserved register for internal use. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved2 r/w u_fdeact u_r54t mlse_power_dn reset default 0 1 0 bit # symbol name/description 76 reserved for internal use. 5u_fdeact u-interface force deactivation. when the ntn device is in lt mode [docr(nt_lt=1)], setting this bit to 1 forces the ntn device to send three or four u superframes of dea = 0 and then switch the transceiver off. when the ntn device is in nt mode, this bit has no effect. 4 u_r54t transmit reserved bit. when the ntn device is in lt mode [docr(nt_lt=1)], this bit is sent as the r54 reserved bit. when the ntn device is in nt mode, this bit has no effect. 3 mlse_power_dn maximum likelihood sequence estimation, powerdown. this bit, when set to 1, powers down the mlse algorithm in the T9000 device, thereby providing a power savings of approximately 15 mw, but the T9000 device does not pass the etsi performance test on loop3 (and loop3 reversed) with +2.5 db noise level, when this bit is set to 1. thus, this bit needs to be set to 0 to pass the etsi performance test on loop3 (and loop3 reversed) with +2.5 db noise level. note: when setting this bit to 1, care must be taken to not change the other bit values in this register. the user must perform a read, modify, and write operation when changing this bit value, to make sure other bit values are unchanged. 20 reserved for internal use. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved3r resetdefault bit # symbol name/description 70 reserved register for internal use.
50 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 8 device operation control (continued) 8.1 device operation register (continued) table 49. reserved 4: reserved register for internal use (0x58) table 50. reserved 5: reserved register for internal use (0x59) table 51. reserved 6: reserved register for internal use (0x5a) table 52. reserved 7: reserved register for internal use (0x5b) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved4 r resetdefault bit # symbol name/description 70 reserved for internal use. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved5r resetdefault bit # symbol name/description 70 reserved for internal use. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved6r resetdefault bit # symbol name/description 70 reserved for internal use. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved7r resetdefault bit # symbol name/description 70 reserved for internal use.
lucent technologies inc. 51 advance data sheet april 2000 isdn network termination node (ntn) device T9000 8 device operation control (continued) 8.1 device operation register (continued) table 53. reserved 8: reserved register for internal use (0x5c) table 54. reserved 9: reserved register for internal use (0x5d) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved8 r resetdefault bit # symbol name/description 70 reserved for internal use. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved9r resetdefault bit # symbol name/description 70 reserved for internal use.
52 52 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module the hdlc (high-level data link) module supports stan- dard hdlc framing and deframing functionality on the d channel of the ntn. two 64 x 9 register files are used to implement transmitter and receiver fifos, and address recognition is performed on the incoming frames. data/parameter exchange between the microcontroller and the hdlc module is done by reading/writing a set of registers. interrupts are used to request microcon- troller intervention. data to be framed and transmitted is written into the fifo by the microcontroller via registers htx and htxl. all bytes of a packet, except the last one, are written to htx. the last byte is written to htxl. htx and htxl occupy the same physical space (the trans- mit fifo). the microcontroller reads data from the receive fifo via register hrx. 9.1 hdlc transmitter the hdlc transmitter automatically frames user data packets (udps) by inserting starting and closing flags, inserting (if requested) the frame check sequence (cal- culated according to the itu-16 polynomial cyclic redundancy check [crc]) and performing zero-bit insertion on the user data and frame check sequence (fcs). packets to be framed are transferred by the microcon- troller into the transmitter fifo by writing to the htx and htxl registers. multiple hdlc packets can be written into the transmitter fifo. for all bytes of a packet, except the last one, the microcontroller should write the data byte into the htx register. the last byte of a packet is written into the htxl register. figure 9 shows the transmitter fifo contents in the case where the microcontroller has written two complete 9-byte packets into the transmitter fifo and partially written a third packet. for packets #1 and #2, bytes 0 to 7 are written to register htx and byte 8 is written to register htxl. the hdlc transmitter fifo manager indicates the number of free bytes currently in the transmitter fifo via read-only register htsa. at the snapshot in time represented by the figure, the hdlc transmitter is ready to accept byte p3-b2. also, the microcontroller can write up to 48 bytes before the fifo is filled, because the first four bytes of the first packet have been transmitted. 9.1.1 hdlc transmitter initialization on powerup, the hdlc transmitter is initialized auto- matically. after powerup, whenever there is any change to the htcf[mancrc] or htcf[txmode] configura- tion bits, the bit htcf[tx_init] needs to be set to 1 to reinitialize the hdlc transmitter. once the initialization is completed, the htcf[tx_init] bit returns to 0. during initialization, register bit htcf[mancrc] is sampled. if it is zero (the default), the fcs will be cal- culated automatically, according to the itu 16 polyno- mial cyclic redundancy check (crc-16) and inserted at the end of the user data. if htcf[mancrc] = 1, no fcs automatic insertion is done; it is the responsibility of the user software to perform the fcs insertion if desired. this feature may be useful in cases where it is necessary to use an fcs other than that in the itu standard. users may abort the current frame transmission by asserting register bit htcf[abrt_rq]. when this occurs, the transmitter fifo manager will flush the contents of the transmitter fifo. this bit automatically returns to 0 once the abort sequence has been initi- ated. register bit htcf[idl] determines the idle pattern to be sent by the hdlc transmitter when there are no packets to be framed. if set to 0, flags (01111110) will be inserted between the closing flag of a frame and the opening flag of the next frame. if set to 1, idles (11111111) will be inserted. in certain applications where buffer overloading at the far-end receiver can occur, there may be a requirement to add a minimum number of extra interframe fill bytes at the end of each frame. htcf[fcnt(2:0)] deter- mines the number of fill bytes to be sent at the end of a packet. for fcnt(2:0) = n (where n > 0), n C 1 inter- frame flags are padded after the closing flag of one frame and the opening flag of the next frame. for the case of n = 0, the closing flag of one frame acts as the opening flag of the next frame (i.e., back-to-back frames are supported). the htth[tfae] register bits determine the threshold that the queue manager uses to control assertion of the hir[tthr] interrupt register bit. this bit is asserted when, as a consequence of a read of the transmitter fifo by the hdlc framer, the available space of the fifo exceeds the number in the htth[tfae]. interrupt register bit hir[tfc] is asserted at the end of the closing flag of a transmitted frame.
lucent technologies inc. 53 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.1 hdlc transmitter (continued) 9.1.1 hdlc transmitter initialization (continued) interrupt register bit hir[tundr] is asserted to indi- cate that an underrun error has occurred during the transmission of a frame. an underrun error occurs when the transmitter has completed the transmission of a user byte that is not the last of a packet and detects that the transmitter fifo is empty. in this case, the frame is completed by inserting the abort pattern, 01111111. 5-7099f note: rptr = read pointer, wptr = write pointer. figure 9. hdlc transmitter fifo 9.2 hdlc transmitter d-channel access the hdlc transmitter accesses the upstream d chan- nel using a priority mechanism (implemented via an arbitration circuit) equivalent to that specified in the itu-i.430 standard for tes on the s/t bus. the arbiter automatically grants control to the hdlc module if one of these conditions occurs: n s/t-interface is not fully active (no info 3 is being received on the s/t-interface). n scr0[fact] register bit is set to 1. n dfr[force_d] register bit is set to 1. when none of the above conditions are true and info 3 is being received on the s/t-interface, the priority cir- cuit determines when the hdlc module is granted access to the upstream d channel. the arbiter will grant access to the hdlc module when 8 or 9 (for pri- ority class 1) or 10 or 11 (for priority class 2) consecu- tive ones are received on the upstream s/t d channel. the priority class is controlled via register bit htth[pclass]. within a priority class, the priority level (i.e., 8/9 or 10/11) is automatically managed. once the packet has been transmitted, the hdlc mod- ule releases control to the internal arbiter for a new arbitration. when the s/t-interface is active, the microcontroller may force access to the upstream d channel to be granted to the hdlc module by asserting register bit dfr[force_d]. normally, the upstream (received) d- channel bit (d bit) from the tes is echoed downstream in the e-bit position. when force_d is asserted, the inverted version of the d bit is echoed. this has the effect of guaranteeing that all active tes will cease transmission (due to a collision error) and no new transmissions will be initiated. in this way, upstream access to the d channel is granted exclusively to the local hdlc controller. when the s/t-interface is disabled (scr0[st_e] = 0) or in force activate mode (scr0[fact] = 1), the hdlc transmitter will be granted immediate access to the upstream d channel. if the hdlc module is granted access to the d channel and does not have any data to transmit, it will transmit the idle pattern determined by htcf[idl]. for operation with tes running the lapd protocol, htcf[idl] should be set to 1. rptr = 04h p1-b0 (sapi) pi-b1 (tei) p1-b2 p1-b3 p1-b4 p1-b5 p1-b6 p1-b7 p1-lastbyte p2-b0 (sapi) p2-b1 (tei) p2-b2 p2-b3 p2-b4 p2-b5 p2-b6 udp #2 udp #1 p2-b7 p2-lastbyte p3-b0 (sapi) p3-b1 (tei) wptr = 14h htsa = 30h
54 54 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.3 hdlc receiver downstream d channel is always transferred to the hdlc receiver. the hdlc receiver removes flags, does zero bit deletion, and calculates the fcs for the downstream d-channel information. deframed data is converted from serial to parallel (byte delimited) and passed to the microcontroller through the receiver fifo hrx register. 9.3.1 hdlc receiver initialization on powerup, the hdlc receiver is initialized automati- cally. after powerup, whenever there is any change to the hrcf[dropcrc], hrcf[rxmode], hrcf[bae], or hsm0[bap(7:0)] configuration bits, the bit hrcf[rx_init] needs to be set to 1 to reinitialize the hdlc receiver. once the initialization is completed, the hrcf[rx_init] bit automatically returns to 0. during initialization, register bit hrcf[dropcrc] is sampled. if it is one (the default), the fcs will be dropped (not stored in the receiver fifo). if hrcf[dropcrc] = 0, the complete deframed packet, including its fcs, will be stored in the receiver fifo. if the device is programmed for address matching, then prior to storing a packet in the receiver fifo, its address is checked against a set of patterns (see sec- tion 9.4, address recognition). only packets with an address field matching one of the programmed address values are transferred to the receiver fifo, all others are rejected. at the end of a frame, a status byte is transferred to the hdlc receiver fifo that provides information about the following events: frame-overrun, frame-complete, frame-error, and frame-abort. figure 10 shows the structure of the status byte. each bit is set to one when the corresponding condition is active. bit 7 (ovr). the overrun bit indicates that the frame has been closed by a receive fifo overrun condition (see section 9.3.1.1 overrun condition ). bit 6 (eof). the end of frame bit indicates that the packet has been properly terminated with a closing flag. bit 5 (ferr). the fcs error bit indicates that the results of comparing the incoming fcs with internally calculated fcs on the received data (according to the itu crc-16 polynomial) did not match. bit 4 (fabrt). the frame abort bit indicates that the frame has been closed with an abort pattern (01111111). bits 20 (cbit). the check error bit provides an extra error check. in most hdlc based protocols, the packet length is an exact multiple number of bytes. when this is the case, cbit = 111. otherwise, cbit 1 111. the above definitions for the status bits imply that cor- rectly received frames will have 47h as the status byte. bit 3 is reserved and is set to 0. figure 10. hdlc receiver status word multiple packets may be stored in the receiver fifo at a given time. the hrda[nbnsw] register bits indicate the number of bytes until the next status word in the fifo. if there are no status words in the fifo, it indi- cates the numbers of bytes of an unfinished packet cur- rently stored into the fifo. packets less than 2 bytes in length (4 bytes if hrcf[dropcrc] = 1) are automatically rejected. 765432:0 ovr eof ferr fabrt cbit
lucent technologies inc. 55 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.3 hdlc receiver (continued) 9.3.1 hdlc receiver initialization (continued) figure 11 represents a sequence of snapshots in time of the receiver fifo. in figure 11 (a), the fifo is empty, so hrda = 00h. in figure 11 (b), the first five bytes of a packet have been loaded into the fifo; register hrda indicates that there is no status byte in the fifo (hrda[swrf] = 0) and also indicates the number of bytes currently in the fifo (hrda[nbnsw] = 05h). in figure 11 (c), a complete packet has been loaded into the fifo and part of a second packet has been loaded. in this case, hdra[swrf] = 1, which indicates that there is a status byte in the receiver fifo. hrda[nbnsw] = 09h indicates that the status byte is the ninth byte in the fifo. in figure 11 (d), the second packet has been completely loaded into the receiver fifo, part of a third packet has been received, and some bytes of the first packet have been read by the microcontroller. figure 11 (e) represents the case in which the microcontroller has read all bytes of the first packet except its status byte. a new read of the fifo (hrx register) will cause the hrda register to point to the status byte of the second packet, as shown in figure 11 (f). 5-7098f figure 11. hdlc receiver fifo snapshot sequence free (a) hrda = 00h space free (b) hrda = 05h space free (c) hrda = 89h space udp #1 p1-sapi p1-tei p1-b2 p1-b3 p1-b4 p1-sapi p1-tei p1-b2 p1-b3 p1-b4 p1-b5 p1-b6 p1-b7 p1-status p2-sapi p2-tei p2-b2 udp #2 udp #1 (d) hrda = 86h (e) hrda = 81h free (f) hrda = 89h space p2-sapi p2-tei p2-b2 p2-b3 p2-b4 p2-b5 p2-b6 p2-b7 p2-status p3-sapi p3-tei p3-b2 udp #3 udp #2 p2-sapi p2-tei p2-b2 p2-b3 p2-b4 p2-b5 p2-b6 p2-b7 p2-status p3-sapi p3-tei p3-b2 udp #3 udp #2 udp #1 p1-b3 p1-b4 p1-b5 p1-b6 p1-b7 p1-status p2-sapi p2-tei p2-b2 p2-b3 p2-b4 p2-b5 p2-b6 p2-b7 p2-status p3-sapi free space udp #2 udp #1 free space udp #3 p1-status
56 56 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.3 hdlc receiver (continued) 9.3.1 hdlc receiver initialization (continued) up to 16 status bytes can be stored in the receiver fifo at a given time. once this condition is reached, it is indicated by assertion of the hir[rstf] interrupt register bit and the fifo is considered full. in the worst case, the microcontroller has approximately 2 ms from the time hir[rstf] is asserted to read data from the fifo and avoid overrun errors (an overrun error is indi- cated by assertion of the hir[rovr] interrupt bit). when a status word with its eof bit set is loaded into the fifo, interrupt bit hir[reof] is set. similarly, when a status word with its abrt bit set is loaded into the fifo, interrupt bit hir[rabt] is set. when the receive fifo is filled at or above the level programmed in register hrth, an interrupt is asserted by enabling the bit hir[rthr]. the interrupt should clear when the interrupt status register is read, and should not be asserted again until the receive fifo is emptied to the point that more spaces remain in the fifo than the value programmed in the hrth register, and then enough bytes are received to again cause the delay fifo fill level to reach the hrth register value. 9.3.1.1 overrun condition an overrun condition occurs when the receiver is unable to download a processed byte into the fifo because the fifo is full or contains 16 status words. interrupt bit hir[rovr] is set when an overrun occurs. if the overrun condition occurs during the reception of a packet with a matching address field, the current frame will be closed and its status words ovr bit will be set. the remainder of the frame will be dropped even if the overrun condition has been removed. the receiver must be reinitialized after the overrun condition, before new packets can be properly received. 9.4 address recognition a very flexible address comparison scheme is imple- mented in the ntn device. eight registers are used for storing sapi or tei patterns for comparison with the incoming address. the registers are grouped logically into the pairs hsm0/htm0, hsm1/htm1, hsm2/ htm2, hsm3/htm3 to define a total of four dlci (data link connection identifier) address matching patterns. if hsmod and htmod are programmed for address matching, only frames with an address field matching one of the programmed address values (or special addresses) are transferred to the receive fifo. all oth- ers are ignored. if an address match occurs, the address field is also loaded into the hdlc receive fifo. the address modifier registers, hsmod and htmod, are used to control the address recognition modes and can be used to extend the dlcis defined in the four hsmx/htmx register pairs. figure 12 shows an exam- ple of this for the sapi0/tei0 pair (i.e., bits sapi0m[1:0] and tei0m[1:0] in hsmod and htmod, respectively). consider the default setting of tei0m = 00 and sapi0m = 00 on powerup. in this case, teim0 = 00 causes rejection of all packets for a given dlci pair, independent of the state of sapi0m. this means that on powerup, the hdlc receiver is disabled and will not receive any packets. now consider the effect of setting tei0m to the other three possible values while leaving sapi0m set to 00. setting tei0m = 01 enables the recognition of the dlci0 address programmed in the hsm0/htm0 pair. setting tei0m = 10 extends the definition of dlci0 to include the broadcast tei value, 127. setting tei0m = 11 extends the definition of dlci0 to include all tei val- ues. in a similar way, setting sapi0m to the values 01, 10, or 11 will extend the existing definition of dlci0 to include sapi0 = 0, sapi = 63, or all sapi values, respectively. note, then, that when sapi0m/tei0m = 1111, any packet more than 2 bytes in length (4 bytes if hrcf[dropcrc] = 1) will be downloaded to the receiver fifo, regardless of its address. this effec- tively disables address recognition for all four dlci pairs, since the values programmed into the other three pairs become irrelevant in this case. one further level of address recognition control is avail- able via the hscr register, which provides a means for enabling/disabling comparison of the command response (c/r) bit for each sapi. when hscr[sxcre] = 0, no comparison is done on the c/r bit of the sapi defined by hsmx register. when hscr[sxcre] = 1, the c/r bit is included in compari- son. however, for extended sapi values of 0 or 63 (hsmod[sapixm] = 01 or = 10), no comparison is ever done on the c/r bit. in the transmit direction, no automatic address inser- tion is performed.
lucent technologies inc. 57 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.4 address recognition (continued) 5-6514f * indicates any sapi value. ? indicates any tei value . figure 12. dlci extension and function of sapi0m-tei0m bits sapi0 tei0 sapi0 tei0 0 tei0 sapi0 tei0 63 tei0 * tei0 sapi0 tei0 sapi0 127 sapi0 ? 00 sapi0 tei0 0 tei0 sapi0 tei0 63 tei0 * tei0 sapi0 127 0 127 sapi0 127 63 127 * 127 sapi0 ? 0? sapi0 ? 63 ? *? 01 10 11 00 01 10 11 tei0m s a p i 0 m
58 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set table 55. htcf: hdlc transmitter configuration register (0x18) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htcf r/w fcnt2 fcnt1 fcnt0 idl txmode abrt_rq mancrc tx_init reset default 0 0 0 1 0 0 0 0 bit # symbol name/description 75 fcnt[2:0] interframe fill count . sets the number of fill bytes to be transmitted between each hdlc frame. the number of fill bytes inserted between the closing flag of one frame and the opening flag of another is fcnt[2:0] - 1, except for the case of fcnt[2:0] = 0, which causes sharing of the closing flag of one frame with the opening flag of the next. 000: back-to-back frames (closing/opening flag is shared). 001: no fill bytes are inserted. . . . 111: insert 6 fill bytes. back-to-back frames can only occur if the priority mechanism is disabled by setting dfr[force_d] = 1. see dfr[force_d] description. 4idl idle/interframe fill value. sets the value of the transmitters idle and interframe fill bytes. 0: 01111110 (flags) 1: 11111111 (idles) flags can only be used as idle or interframe fill bytes if the priority mechanism is disabled by setting dfr[force_d] = 1. see dfr[force_d] description. 3txmode transmitter mode . determines whether the transmitter is in standard hdlc mode or transparent mode. the transmitter must be reinitialized after changing this bit. 0: standard hdlc mode. 1: transparent mode. 2abrt_rq hdlc transmitter abort request. when this signal is written to 1, the frame currently being transmitted is aborted and the transmit fifo will be flushed. this bit automatically returns to 0 once the abort sequence has been set. 1 mancrc hdlc transmitter manual/auto crc insertion . controls whether the transmit fcs (crc) will be inserted automatically by the hdlc controller or whether it must be manu- ally loaded into the transmit fifo. the transmitter must be reinitialized after changing this bit. 0: auto insertion. 1: manual insertion. 0 tx_init hdlc transmitter initialize . writing this bit to 1 will cause initialization of the hdlc transmitter. on powerup, the hdlc transmitter is initialized automatically. after powerup, whenever the mancrc or txmode configuration bits are changed, this bit needs to be set to reinitialize the hdlc transmitter. prior to programming any of the transmitter regis- ters, this bit must be written to 1. the microcontroller must then poll this bit and wait until it returns to 0 (signaling that transmitter initialization is complete) before programming any of the other transmitter registers.
lucent technologies inc. 59 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 56. hrcf: hdlc receiver configuration register (0x19) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hrcf r/w rxmode bae dropcrc rx_init reset default 0 0 0 0 0 0 1 0 bit # symbol name/description 74 reserved. program to 0. 3rxmode receiver mode . determines whether the receiver is in standard hdlc mode or transparent mode. the receiver must be reinitialized after changing this bit. 0: standard hdlc mode. 1: transparent mode. 2bae byte alignment enable. this bit enables the byte alignment feature for the hdlc receiver when operating in transparent mode. when this feature is enabled, register hsm0 (22h) pro- vides the byte alignment pattern. the receiver must be reinitialized after changing this bit. 0: byte alignment mechanism is disabled. 1: byte alignment mechanism is enabled. 1 dropcrc drop receive crc . controls whether the crc bytes (last 2 bytes of an hdlc frame) are loaded into the receive fifo. the receiver must be reinitialized after changing this bit. 0: load 2 crc bytes into receive fifo. 1: drop crc (crc bytes are not loaded into the receive fifo). 0 rx_init hdlc receiver initialize . writing this bit to 1 will cause initialization of the hdlc receiver. on powerup, the hdlc receiver is initialized automatically. after powerup, whenever there is any change in the dropcrc, rxmode, bae, or hsm0[bap(7:0)] configuration bits, this bit needs to be set to reinitialize the hdlc receiver. prior to programming any of the receiver registers, this bit must be written to 1. the microcontroller must then poll this bit and wait until it returns to 0 (signaling that receiver initialization is complete) before programming any of the other receiver registers. during initialization, dropcrc is latched. any change to dropcrc after initialization is disregarded.
60 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 57. htth: hdlc transmit fifo threshold (0x1a) table 58. hrth: hdlc receive fifo threshold (0x1b) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htth r/w p_class tfae5 tfae4 tfae3 tfae2 tfae1 tfae0 resetdefault1 0100000 bit # symbol name/description 7p_class priority class . this bit is used during arbitration to the upstream d-channel access. it indi- cates the number of consecutive ones the ntn has to receive on the upstream s/t d chan- nel in order to grant d-channel access to the hdlc transmitter. 0: priority class 2 (data) as defined in itu-i.430. 1: priority class 1 (signaling) as defined in itu-i.430. within a class, priority levels are automatically managed. 6 reserved. program to 0. 50 tfae[5:0] hdlc transmitter fifo almost empty threshold. the hdlc transmitter will issue an interrupt (if enabled) when the number of empty bytes in the transmit fifo exceeds the threshold level programmed in this register. the interrupt will clear when the interrupt status register is read. the interrupt will not be asserted again until the number of empty bytes in the transmit fifo is equal to or less than the value programmed in tfae[5:0], and then enough bytes are transmitted to again cause the fifo empty level to exceed the tfae[5:0] value. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hrth r/w rfaf5 rfaf4 rfaf3 rfaf2 rfaf1 rfaf0 resetdefault00100000 bit # symbol name/description 76 reserved. program to 0. 50 rfaf[5:0] hdlc receiver fifo almost full threshold. the hdlc receiver will issue an interrupt (if enabled) when the number of bytes in the receive fifo exceeds the threshold level programmed in this register. the interrupt will clear when the interrupt status register is read. the interrupt will not be asserted again until the number of bytes in the receive fifo is equal to or less than the value programmed in rfaf[5:0], and enough bytes are received to again cause the fifo fill level to exceed the rfaf[5:0] value.
lucent technologies inc. 61 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 59. htsa: hdlc transmit fifo space available (0x1c) table 60. hrda: hdlc receive fifo data available (0x1d) table 61. htx: hdlc transmit data (0x1e) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htsa r tsp6 tsp5 tsp4 tsp3 tsp2 tsp1 tsp0 resetdefault1000000 bit # symbol name/description 7 reserved. 60 tsp[6:0] transmitter space. this register contains the number of empty positions in the transmit- ter fifo. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hrda r swrf nbnsw6 nbnsw5 nbnsw4 nbnsw3 nbnsw2 nbnsw1 nbnsw0 resetdefault bit # symbol name/description 7swrf status word on receive fifo. the hdlc receiver module asserts this bit whenever there is a status word in the receive fifo. 0: no status word. 1: status word. 60 nbnsw[6:0] number of bytes until next status word . these bits indicate how many bytes are present in the receive fifo. if swrf (bit 7) is equal to 1, indicating that a status word is available in the fifo, then nbnsw[6:0] indicates the number of bytes in the receive fifo up to and including the status byte. if swrf is equal to 0, indicating that no status words are available in the fifo, then nbnsw[6:0] indicates the total number of data bytes in the receive fifo. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htx w txd7 txd6 txd5 txd4 txd3 txd2 txd1 txd0 resetdefault bit # symbol name/description 70 txd[7:0] hdlc transmit data. data to be transmitted is written to this register, which maps into the transmit fifo. the last byte of each packet must be written to register htxl (see table 62).
62 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 62. htxl: hdlc transmit data last byte (0x1f) table 63. hrx: hdlc receive data (0x20) table 64. hscr: hdlc sapi c/r bit mask (0x21) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htxl w txdl7 txdl6 txdl5 txdl4 txdl3 txdl2 txdl1 txdl0 reset default bit # symbol name/description 70 txdl[7:0] hdlc transmit datalast byte. the last data byte of each transmitted packet is writ- ten to this register (rather than htx) to indicate to the transmitter that this is the end of the packet. this register occupies the same physical space as htx (i.e., it maps to the transmit fifo). reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hrx r rxd7 rxd6 rxd5 rxd4 rxd3 rxd2 rxd1 rxd0 reset default bit # symbol name/description 70 rxd[7:0] received data/status. the content of the fifo is read when addressing this register. the first received bit is the least significant bit of this byte. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hscr r/w s3cre s2cre s1cre s0cre resetdefault00000000 bit # symbol name/description 74 reserved. program to 0. 3 s3cre sapi3 command/response bit comparison enable. 0: sapi3 c/r bit is ignored. 1: sapi3 comparison includes c/r bit (hsm3.1). 2 s2cre sapi2 command/response bit comparison enable. 0: sapi2 c/r bit is ignored. 1: sapi2 comparison includes c/r bit (hsm2.1). 1 s1cre sapi1 command/response bit comparison enable. 0: sapi1 c/r bit is ignored. 1: sapi1 comparison includes c/r bit (hsm1.1). 0 s0cre sapi0 command/response bit comparison enable. 0: sapi0 c/r bit is ignored. 1: sapi0 comparison includes c/r bit (hsm0.1).
lucent technologies inc. 63 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 65. hsm0: hdlc sapi match pattern 0 (0x22) table 66. htm0: hdlc tei match pattern 0 (0x23) table 67. hsm1: hdlc sapi match pattern 1 (0x24) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hsm0 r/w sapi05 sapi04 sapi03 sapi02 sapi01 sapi00 c/r0 ea00 bap7 bap6 bap5 bap4 bap3 bap2 bap1 bap0 reset default bit # symbol name/description 72 sapi0[5:0] match pattern 0 for sapi. when in the hdlc mode, this register provides the match pattern for sapi. see section 9.4, address recognition for details. bap[7:2] byte alignment pattern . when in transparent mode, this register provides the byte alignment pattern if hrcf[bae] = 1. 1c/r0 command/response bit. set according to the q.920 standard. bap1 byte alignment pattern . when in transparent mode, this register provides the byte alignment pattern if hrcf[bae] = 1. 0ea00 address field extension bit (0 or 1). this bit has to be 0 for recognizing sapi0 and sapi63 addresses. bap0 byte alignment pattern . when in transparent mode, this register provides the byte alignment pattern if hrcf[bae] = 1. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htm0 r/w tei06 tei05 tei04 tei03 tei02 tei01 tei00 ea10 resetdefault bit # symbol name/description 71 tei0[6:0] match pattern 0 for tei. see section 9.4, address recognition for details. 0ea10 address field extension bit (0 or 1). this bit has to be 1 for recognizing the special tei127 value of 127. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hsm1 r/w sapi15 sapi14 sapi13 sapi12 sapi11 sapi10 c/r1 ea01 resetdefault bit # symbol name/description 72 sapi1[5:0] match pattern 1 for sapi. when in the hdlc mode, this register provides the match pat- tern for sapi. see section 9.4, address recognition for details. 1c/r1 command/response bit. set according to the q.920 standard. 0ea01 address field extension bit (0 or 1). this bit has to be 0 for recognizing sapi0 and sapi63 addresses.
64 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 68. htm1: hdlc tei match pattern 1 (0x25) table 69. hsm2: hdlc sapi match pattern 2 (0x26) table 70. htm2: hdlc tei match pattern 2 (0x27) table 71. hsm3: hdlc sapi match pattern 3 (0x28) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htm1 r/w tei16 tei15 tei14 tei13 tei12 tei11 tei10 ea11 reset default bit # symbol name/description 71 tei1[6:0] match pattern 1 for tei. see section 9.4, address recognition for details. 0ea11 address field extension bit (0 or 1). this bit has to be 1 for recognizing the special tei value of 127. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hsm2 r/w sapi25 sapi24 sapi23 sapi22 sapi21 sapi20 c/r2 ea02 resetdefault bit # symbol name/description 72 sapi2[5:0] match pattern 2 for sapi. when in the hdlc mode, this register provides the match pattern for sapi. see section 9.4, address recognition for details. 1c/r2 command/response bit. set according to the q.920 standard. 0ea02 address field extension bit (0 or 1). this bit has to be 0 for recognizing special sapi values of 0 or 63. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htm2 r/w tei26 tei25 tei24 tei23 tei22 tei21 tei20 ea12 resetdefault bit # symbol name/description 71 tei2[6:0] match pattern 2 for tei. see section 9.4, address recognition for details. 0ea12 address field extension bit (0 or 1). this bit has to be 1 for recognizing the special tei value of 127. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hsm3 r/w sapi35 sapi34 sapi33 sapi32 sapi31 sapi30 c/r3 ea03 resetdefault bit # symbol name/description 72 sapi3[5:0] match pattern 3 for sapi. when in the hdlc mode, this register provides the match pattern for sapi. see section 9.4, address recognition for details. 1c/r3 command/response bit. set according to the q.920 standard. 0ea03 address field extension bit (0 or 1). this bit has to be 0 for recognizing special sapi values of 0 or 63.
lucent technologies inc. 65 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 72. htm3: hdlc tei match pattern 3 (0x29) table 73. hsmod: hdlc sapi modifier register (0x2a) see section 9.4, address recognition for details on the function of this register. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htm3 r/w tei36 tei35 tei34 tei33 tei32 tei31 tei30 ea13 reset default bit # symbol name/description 71 tei3(60) match pattern 3 for tei. see section 9.4, address recognition for details. 0ea13 address field extension bit (0 or 1). this bit has to be 1 for recognizing the special tei value of 127. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hsmod r/w sapi3m1 sapi3m0 sapi2m1 sapi2m0 sapi1m1 sapi1m0 sapi0m1 sapi0m0 resetdefault00000000 bit # symbol name/description 76 sapi3m[1:0] sapi3 modifier. this field indicates the value(s) for the sapi of dlci3. 00: sapi3 = value of hsm3. 01: sapi3 = value of hsm3 or 0. 10: sapi3 = value of hsm3 or 63. 11: sapi3 = any value. 54 sapi2m[1:0] sapi2 modifier. this field indicates the value(s) for the sapi of the dlci2. 00: sapi2 = value of hsm2. 01: sapi2 = value of hsm2 or 0. 10: sapi2 = value of hsm2 or 63. 11: sapi2 = any value. 32 sapi1m[1:0] sapi1 modifier. this field indicates the value(s) for the sapi of the dlci1. 00: sapi1 = value of hsm1. 01: sapi1 = value of hsm1 or 0. 10: sapi1 = value of hsm1 or 63. 11: sapi1 = any value. 10 sapi0m[1:0] sapi0 modifier. this field indicates the value(s) for the sapi of the dlci0. 00: sapi0 = value of hsm0. 01: sapi0 = value of hsm0 or 0. 10: sapi0 = value of hsm0 or 63. 11: sapi0 = any value.
66 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 74. htmod: hdlc tei modifier register (0x2b) see section 9.4, address recognition for details on the function of this register. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 htmod r/w tei3m1 tei3m0 tei2m1 tei2m0 tei1m1 tei1m0 tei0m1 tei0m0 resetdefault00000000 bit # symbol name/description 76 tei3m[1:0] tei3 modifier. this field indicates the value(s) for the tei of dlci3. 00: dlci3 not defined. 01: tei3 = value of htm3. 10: tei3 = value of htm3 or broadcast tei (127). 11: tei3 = any value. 54 tei2m[1:0] tei2 modifier. this field indicates the value(s) for the tei of dlci2. 00: dlci2 not defined. 01: tei2 = value of htm2. 10: tei2 = value of htm2 or broadcast tei (127). 11: tei2 = any value. 32 tei1m[1:0] tei1 modifier. this field indicates the value(s) for the tei of dlci1. 00: dlci1 not defined. 01: tei1 = value of htm1. 10: tei1 = value of htm1 or broadcast tei (127). 11: tei1 = any value. 10 tei0m[1:0] tei0 modifier. this field indicates the value(s) for the tei of dlci0. 00: dlci0 not defined. 01: tei0 = value of htm0. 10: tei0 = value of htm0 or broadcast tei (127). 11: tei0 = any value.
lucent technologies inc. 67 advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 75. hir: hdlc interrupt register (0x2c) note: all bits in this register are set to 1 upon occurrence of the corresponding interrupt condition, and are cleared to 0 when the register is read. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hir r rstf rovr reof rabt rthr tundr tfc tthr reset default bit # symbol name/description 7rstf receiver status full interrupt. this interrupt occurs when the receiver fifo is filled with 16 status bytes. 6rovr receive fifo overrun interrupt. this interrupt occurs when a received byte is written to a full receive fifo. 5reof receive end of frame interrupt. this interrupt occurs when an end of frame (eof) status byte is written to the receive fifo. 4rabt receive abort detect interrupt. this interrupt occurs when the receiver detects an abort condition. 3rthr receive fifo threshold interrupt. this interrupt occurs when the receiver almost full threshold is exceeded. 2 tundr transmit fifo underrun interrupt. this interrupt occurs when the transmitter attempts to transmit a byte from an empty transmit fifo. 1 tfc transmit frame complete interrupt. this interrupt occurs when the transmitter has successfully transmitted a frame. 0 tthr transmit fifo threshold interrupt. this interrupt occurs when the transmitter almost empty threshold is exceeded.
68 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 9 hdlc with fifo module (continued) 9.5 hdlc register set (continued) table 76. hie: hdlc interrupt enable 15 (0x2d) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 hie r/w rstfe rovre reofe rabte rthre tundre tfce tthre resetdefault00000000 bit # symbol name/description 7rstfe rstfe interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 6rovre rovr interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 5reofe reof interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 4rabte rabt interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 3 rthre rthr interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 2 tundre tundr interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 1 tfce tfc interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 0 tthre tthr interrupt enable. 0: interrupt disabled. 1: interrupt enabled.
lucent technologies inc. 69 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module the programmable gci+ interface supports a large variety of codec interfaces, including gci, long-frame sync (lfs) tdm, and short-frame sync (sfs) tdm; hence, the + attribute. these interfaces cover most available codecs on the marketplace (lucent, siemens , national *, and motorola ? ). the gci+ interface is comprised of seven signals as shown in table 77. the pin routing of the fsc and pfs1 sig- nals changes slightly depending on whether the device is in tdm or gci mode. this was done in order to place the signal most likely to be used in each mode on the fs1 pin rather than the gpio2.2 pin. this allows the gpio2.2 signal to be available for other uses in most cases. table 77. gci+ interface signals the gci+ interface behavior depends on the operational mode defined by its configuration register, gccf. three modes are supported by the gci+ interface: n gci-nt mode (gccf[gmode(1:0)] = 00). n gci-te mode (gccf[gmode(1:0)] = 01). n tdm mode (gccf[gmode(1:0)] = 1x). 10.1 tdm mode (gccf, gmode[1:0] = 1x) tdm mode is for use with codecs having a simple tdm interface. figure 13 and figure 14 show the timing for the gci+ interface when programmed in tdm mode. there are two clock modes for the data clock, dcl: single clock and double clock mode. in single clock mode (gccf[ckmode] = 1), there is one dcl cycle per bit. in double clock mode (gccf[ckmode] = 0), there are two dcl cycles per bit. the dcl clock rate is programmed via the gccf[grate(1:0)] register bits. the dcl rates supported in tdm mode are 512 khz, 1536 khz, or 2048 khz. since there can be either one or two dcl cycles per data bit, depending on whether the gci+ is in single or double clock mode, there are six possible data rates, as shown in table 78. in addition, a powerdown mode is available in which dcl is stopped (see section 10.5, gci+ powerdown mode). in double clock mode, a bit clock (bclk) signal is available on the gpio2.1 pin when gpaf1[gpaf2.1] = 1. bclk occurs once per bit time and is a divide-by-two version of the dcl signal. bclk is always 0 in single clock mode. * national is a registered trademark of national semiconductor corporation . ? motorola is a registered trademark of motorola, inc. function name gci pin tdm pin i/o meaning fsc fs1 gpio2.2 o reference frame sync (marks start of frame). pfs1 gpio2.2 fs1 o programmable frame sync 1 (marks location of b1 channel). pfs2 fs2 fs2 o programmable frame sync 2 (marks location of b2 channel). dcl dcl dcl o data clock (defined with grate bits). bclk gpio2.1 gpio2.1 o bit clock (only active during 2 times data clock mode). du du du i data upstream (u transmit data). dd dd dd o data downstream (u receive data).
70 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.1 tdm mode (gccf, gmode[1:0] = 1x) (continued) table 78. tdm data rate and clock options in tdm mode, the fsc signal can provide an envelope of time slot #0 (the first time slot of a frame) via the gpio2.2 pin by setting gpaf1[gpaf2.2] = 1. the pfs1 and pfs2 signals mark the location of the b1 and b2 time slots on the tdm highway and are output on the fs1 and fs2 pins, respectively (see table 78). the pfs1 and pfs2 (programmable frame sync) signals may be programmed to be a pulse (duration of one bit period, sometimes referred to as short frame sync) or envelope (duration of one time slot minus one-half of a dcl period, sometimes referred to as long frame sync). register bit gccf[pfspe] sets the short or long frame sync mode. the b1 and b2 time slots may be programmed to be at any offset from the start of the frame (in time-slot incre- ments) by programming the gcof1 and gcof2 registers with the desired offset. the u-interface b1 and b2 channels are normally transferred to/from the codec on the time slots marked by pfs1 and pfs2, respectively. this ordering can be switched by setting the dfac[bswap] register bit to 1. register bit gccf[pfspe] = 1 controls the relative delay between pfsx (x = 1 or x = 2) and the first data bit of the time slot associated with pfsx. when gccf[pfsdel] = 0, the pfsx rising edge is coincident with the start of the first data bit of the corresponding time slot. when gccf[pfsdel] = 1, the pfsx rising edge occurs one data bit prior to the first data bit of the corresponding time slot. generation of the pfsx signals and data transfer to/from the corresponding time slots may be disabled by setting dfr[pfsx_act] = 0. ckmode grate dcl rate (khz) bclk rate (khz) data rate (khz) number of 8-bit time slots 000 0 0 0 0 0 01 512 256 256 4 0 10 1536 768 768 12 0 11 2048 1024 1024 16 100 0 0 0 0 1 01 512 0 512 8 1 10 1536 0 1536 24 1 11 2048 0 2048 32
lucent technologies inc. 71 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.1 tdm mode (gccf, gmode[1:0] = 1x) (continued) 5-6722 (f) 1. only present if programmed on gpaf1 register. 2. not outputs. shown only for reference. note: gkmode = 0; off1 = 0; off2 = 1. key: a: pfsdel = 0 and pfspe = 0. b: pfsdel = 0 and pfspe = 1. c: pfsdel = 1 and pfspe = 0. d: pfsdel = 1 and pfspe = 1. ?: dont care. figure 13. gci+ interface, tdm mode timing, double clock mode: gccf[ckmode] = 0, gccf[gmode(1:0)] = 1x dcl ??012345670 1 ?0 bclk 1 sync 2 bitslot 2 channelslot 2 fsc 1 pfs1 pfs2 pfs1 pfs2 pfs1 pfs2 pfs1 pfs2 a b c d
72 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.1 tdm mode (gccf, gmode[1:0] = 1x) (continued) 5-6719 (f) 1. only present if programmed on gpaf1 register. 2. not outputs. shown only for reference. note: gkmode = 1; off1 = 0; off2 = 1. key: a: pfsdel = 0 and pfspe = 0. b: pfsdel = 0 and pfspe = 1. c: pfsdel = 1 and pfspe = 0. d: pfsdel = 1 and pfspe = 1. ?: dont care. figure 14. gci+ interface, tdm mode timing, single clock mode: gccf[ckmode] = 1, gccf[gmode(1)] = 1 the figure below shows an example of how a codec with a tdm interface would be connected to an ntn device. the codec shown is the lucent t8503 dual codec. the correct register settings are shown in the ntn block. 5-6720 (f) figure 15. ntn/t8503 glueless tdm interconnection dcl pfs1 pfs2 pfs1 pfs2 pfs1 pfs2 pfs1 pfs2 ??012345670 1 ?0 bclk 1 sync 2 bitslot 2 channelslot 2 fsc 1 a b c d t8503 dual codec ntn (gmode = 1x) (grate = 11) (ckmode = 1) (pfspe = 1) (pfsdel = 0) (gdriver = 1) fsx0 fsr0 dr mclk dx fsr1 fsx1 pfs1 dd dcl du pfs2
lucent technologies inc. 73 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.2 gci modes (gccf[gmode(1:0)] = 0x) gci mode is for use with codecs having a gci inter- face. two gci modes are supported by the ntn device: n gci-nt mode with a gci frame structure of only one gci channel. n gci-scit mode with a gci frame structure of three gci channels. in both modes, the circuit operates as a gci master device, i.e., the dcl output pin provides the gci clock signal (512 khz or 1536 khz). a bclk signal is avail- able on the gpio2.1 pin when gpaf1[gpaf2.1] = 1. bclk occurs once per bit time and is a divide-by-two version of the dcl signal. the fs1 output pin provides the frame synchronization clock (fsc) signal as defined by the gci standard (see figure 17). the internal pfs1 and pfs2 signals mark the location of the b1 and b2 time slots on the tdm highway. pfs2 is output on the fs2 pin (see table 77). pfs1 can be made available on the gpio2.2 pin by setting gpaf1[gpaf2.2] = 1. the pfs1 and pfs2 (programmable frame sync) sig- nals may be programmed to be a pulse (duration of one bit period, sometimes referred to as short frame sync) or envelope (duration of one time slot, some- times referred to as long frame sync). register bit gccf[pfspe] sets the short or long frame sync mode. the u-interface b1 and b2 channels are normally transferred to/from the codec on the time slots marked by pfs1 and pfs2, respectively. this ordering can be switched by setting the dfac[bswap] register bit to 1. register bit gccf[pfsdel] controls the relative delay between pfsx (x = 1 or x = 2) and the first data bit of the time slot associated with pfsx. when gccf[pfsdel] = 0, the pfsx rising edge is coinci- dent with the start of the first data bit of the correspond- ing time slot. when gccf[pfsdel] = 1, the pfsx rising edge occurs one data bit prior to the first data bit of the corresponding time slot. generation of the pfsx signals and data transfer to/from the corresponding time slots may be disabled by setting dfr[pfsx_act] = 0. 10.3 gci-nt mode (gccf[gmode(1:0)] = 00) figure 16 shows the frame structure for the gci-nt mode. the dcl clock rate is automatically set to 512 khz, overriding the value defined by gccf[grate(1:0)]. in addition, a powerdown mode is available in which dcl is stopped (see section 10.5, gci+ powerdown mode). the data rate in gci-nt mode is automatically set to 256 khz, overriding the value defined by gccf[ckmode]. a total of four 8-bit time slots are contained in each frame. time slots 0 and 1 carry user data, time slot 2 is the gci monitor (mon) channel, and time slot 3 is the gci signaling and control chan- nel. the fs1 output pin provides the frame synchronization clock (fsc) as defined by the gci standard. it becomes active with the rising edge of dcl at the start of time slot 0 and is turned off one-half of a dcl period prior to the start of time slot 1. in this mode, the ntn device: n may transfer upstream/downstream data on time- slots 0 and 1. n manages the mon channels operation, mainte- nance, and data transfer (see section 10.3.2, moni- tor message transfer for more details). n provides control of the c/i subchannel (see section 10.4, c/i message transfer for more details). register bit gcof1[off10] controls the time slots to which pfs1 and pfs2 are associated. if gcof1[off10] = 0 pfs1 occurs during time slot 0 (gci-b1 channel) and pfs2 occurs during time slot 1 (gci-b2 channel). if gcof1[off10] = 1 the associa- tion is reversed, pfs1 occurs during time slot 1 (gci-b2 channel) and the pfs2 occurs during time slot 0 (gci-b1 channel). note that the gcof1(off1[4:1]) bits are ignored in gci-nt mode, as is the entire gcof2 register.
74 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.3 gci-nt mode (gccf[gmode(1:0)] = 00) (continued) 5-6721 (f) 1. not an output. shown only for reference. note: gccf[gmode] = 00 (gci-nt); dcl = 512 khz; data rate = 256 khz. figure 16. gci-nt frame structure figure 17 shows the generation of pfs1/pfs2 signals, assuming gcof1[off10] = 0. 5-6718 (f) 1. only present if programmed on gpaf1 register. 2. not outputs. shown only for reference. note: gmode = 00; ckrate 1 00; gkmode = x; off1 (0) = 0. key: a: pfsdel = 0 and pfspe = 0 b: pfsdel = 0 and pfspe = 1 c: pfsdel = 1 and pfspe = 0 d: pfsdel = 1 and pfspe = 1 ?: dont care figure 17. gci-nt timing diagram dcl bclk fs1(fsc) dd du timeslot 1 gci-nt frame (125 m s) b1 b2 mon (out) c/i ae b1 b2 mon (in) c/i ae 0123 dcl bclk 1 sync 2 bitslot 2 channelslot 2 fsc pfs1 1 pfs2 pfs1 1 pfs2 pfs1 1 pfs2 pfs1 1 pfs2 a b c d ??012345670 1 ?0
lucent technologies inc. 75 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.3 gci-nt mode (gccf[gmode(1:0)] = 00) (continued) 10.3.1 gci-scit mode (gccf, gmode[1:0] = 01) figure 18 shows the frame structure for gci-scit (special circuit interface-t) mode, also known as gci- te mode. in this mode, the dcl clock rate is automati- cally set to 1536 khz, overriding the value defined by gccf[grate]. in addition, a powerdown mode is available in which dcl is stopped (see section 10.5, gci+ powerdown mode). the data rate in gci-scit mode is automatically set to 768 khz, ignoring the value defined by gccf[ckmode]. a total of twelve 8-bit time slots are contained in each frame comprising three gci chan- nels of four time slots each. time slots 0 and 1 carry user data, time slot 2 is the gci monitor (mon) chan- nel, and time slot 3 is the gci signaling and control channel. the fs1 output pin provides the frame synchronization clock (fsc) as defined by the gci standard. it becomes active with the rising edge of dcl at the start of time slot 0 and is turned off one-half of a dcl period prior to the start of time slot 1. in this mode, the ntn device: n may transfer upstream/downstream data on time slots 0 (b1), 1 (b2), 4 (ic1), and 5 (ic2). n does not provide control over mon-0 (time slot 2) because layer-1 transceiver control is done through the internal microcontroller bus. the downstream monitor code will be ffh. downstream a and e bits for gci channel 0 will be set to 1. upstream data in time slot 2 will be ignored. n does not support external layer-2 devices. this implies: no data transfer is provided over gci-d channel (time slot 3, first and second data bits) as the internal hdlc controller and microcontroller pro- vide this service. downstream data during these 2 bits will be set to 1. there is no need to support gci subchannel c/i control on channel 0 (c/i-0). the downstream c/i code will be fh. the upstream c/i code will be ignored. there is no need for terminal ic (tic) subchannel control. the downstream tic code will be fh . the upstream tic code will be ignored. n automatically manages the mon-1 channels opera- tion, maintenance, and data transfer (see section 10.3.2, monitor message transfer, for more details). n provides control of the c/i-1 subchannel (see sec- tion 10.4, c/i message transfer, for more details). register gcof1[off1(4:0)] controls the time slots to which pfs1 and pfs2 are assigned. table 79 illus- trates the relationship between the value of gcof1[off1(4:0)] and the time-slot assignment of the pfs1 and pfs2 signals. note that the gcof2 register is ignored in gci-nt mode.
76 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.3 gci-nt mode (gccf[gmode(1:0)] = 00) (continued) 10.3.1 gci-scit mode (gccf, gmode[1:0] = 01) (continued) 5-6723 (f) 1. not output. shown only for reference. notes: gccf[gmode] = 01 (gci-te) 3 dcl = 1536 khz. data rate = 768 khz. figure 18. gci-te mode frame structure table 79. gci-te data-slot association gcof1[off1(4:0)] pfs1 time slot pfs2 time slot x0000 0 1 x0001 1 0 x0010 0 4 x0011 4 0 x0100 0 5 x0101 5 0 x0110 1 4 x0111 4 1 x1000 1 5 x1001 5 1 x1010 4 5 x1011 5 4 x11x0 0 1 x11x1 1 0 01 2345 67891011 dcl bclk pfsi(fsc) dd du channel slot 1 gci-ch0 gci-ch1 gci-ch2 gci-te frame (125 m s) b1 b2 mon-0 (out) d c/i-0 ae ic1 ic2 mon-1 (out) c/i-1 tic b1 b2 mon-0 (in) d c/i-0 ae ic1 ic2 mon-1 (in) c/i-1 tic ae ae
lucent technologies inc. 77 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.3 gci-nt mode (gccf[gmode(1:0)] = 00) (continued) 10.3.2 monitor message transfer for both gci-nt and gci-te modes, the ntn man- ages the monitor channel (mon) protocol as defined by the gci standard. in gci-nt mode, monitor data transfer occurs in time slot 2 (mon-0) using the a&e bit pair in time slot 3. in gci-te mode, monitor data transfer occurs in time slot 6 (mon-1) using the a&e bit pair in time slot 7. monitor messages may be one or more bytes in length. to transmit a single byte message downstream, the microcontroller writes the monitor byte into the gcdml register. once this byte is internally loaded, the gci- controller asserts the interrupt bit gcir[dmrdy] indi- cating to the microcontroller that it is ready to accept a new message to be transmitted. if the transmission is successfully completed, the gci controller asserts interrupt bit gcir[dmeom]. otherwise, if the transmis- sion has been aborted, it will assert interrupt bit gcir(dmabrt). downstream monitor message aborts may occur as a consequence of an abort request by the downstream device or an expiration of the gci controller downstream timer (if gcof1[gtmode] = 1). multibyte monitor messages operate in a similar man- ner to single-byte messages, except that for an n-byte message, bytes 1 to n C 1 are written into register gcdmd, and the last monitor byte is written into regis- ter gcdml. the interrupt bit gcir[dmrdy] is used in both cases to signify when new downstream data may be written to either gcdmd or gcdml. upstream monitor bytes, when confirmed, are trans- ferred to the gcumd register. interrupt bit gcir[umrdy] is asserted to indicate a new monitor byte has been successfully received. at the completion of an upstream message, interrupt bit gcir[umeom] is asserted. if the upstream message is aborted, the interrupt bit gcir [umabrt] is asserted. upstream monitor message aborts may occur as a consequence of an implicit abort produced by an invalid upstream a&e bit pair sequence (normally produced by the downstream device) or an expiration of the gci con- troller upstream timer (if gcof1[gtmode] = 1). the embedded gci controller has one timer associ- ated with each monitor direction to avoid deadlock situ- ations. both timers may be enabled by setting gcof1[gtmode] = 1. the downstream timer will be started each time the transfer of a downstream monitor byte is initiated. if the byte is not acknowledged within four frames, the timer will expire and generate an abort request. the upstream timer will be started upon the detection of a new byte. if this byte is not confirmed by the far end (because it did not detect identical bytes in two consecutive framesupstream rnr event) or the byte cannot be transferred to the gcumd register (because the microcontroller has not yet read the previ- ous byteupstream rnr event), the timer will expire. 10.4 c/i message transfer for both gci-nt and gci-te modes, the ntn man- ages data transfer over the command/indication chan- nel as defined by the gci standard. in gci-nt mode, c/i data transfer occurs in the first 6 bits of time slot 3 (c/i-0). in gci-te mode, c/i data transfer occurs in the first 6 bits of time slot 7 (c/i-1). to transmit a downstream c/i code, the microcontroller writes the code into the gcdci register. this code will be continuously transmitted until a new code is written to gcdci. the internal gci controller will not read the new code from gcdci until the current code has been transferred in at least two consecutive frames. upstream command/indication codes are first filtered before they are transferred to the gcuci register. a double last look criterion is used to validate a new c/i code, i.e., a new code is transferred to the gcuci reg- ister only if it is different from the previously loaded value and is received in two consecutive gci frames. whenever this happens, the gcir[ucic] interrupt is asserted. 10.5 gci+ powerdown mode the gci+ may be placed in a powerdown mode by set- ting gccf[grate(1:0)] = 00). prior to enabling power- down mode, the user must set dfr[pfs1_act] = 0 and dfr[pfs2_act] = 0. while in powerdown mode, the dcl clock signal is stopped (held low), the pfs1 and pfs2 signals are held low, and the dd signal is 3-stated. when in powerdown, a falling edge on the du signal causes an assertion of the interrupt bit gcir[gwup]. this allows the user to write a powerup routine for the gci+ interface.
78 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.6 gci+ loopbacks dfr (g_l_lbk) and dfr (g_r_lbk) register bits control the loopback mode of the gci interface. when the dfr (g_l_lbk) register bit is set, downstream b1/b2 channel is fed back to the upstream b1/b2 channel. when the dfr (g_r_lbk) register bit is set, upstream b1/b2 channel is fed back to the downstream b1/b2 channel. both loopbacks may be set at the same time. loopbacks are transparent, except in the case when both are active at the same time. note that loopbacks only operate over data channels; no other channels will be looped back. 5-6724 (f) figure 19. gci loopback logic 0 1 0 1 0 1 0 1 remote loopback local loopback gdriver dd_i du_i g_l_lbk data channel g_r_lbk dd_oe dd du
lucent technologies inc. 79 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.7 gci+ register set table 80. gccf: gci+ configuration register (0x2e) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gccf r/w gdriver pfsdel pfspe ckmode grate1 grate0 gmode1 gmode0 resetdefault0 0000000 bit # symbol name/description 7 gdriver gci+ driver type. sets the type of output driver to be used for the gci+ signal dd. 0: open-drain driver. 1: push-pull driver. 6pfsdel pfs delay. sets the relative delay between pfsx (x = 1 or x = 2) and the first data bit of the time slot associated with pfsx. 0: pfsx rising edge is coincident with the start of the corresponding time slot. 1: pfsx rising edge occurs one bit time before the start of the corresponding time slot. 5 pfspe pfs pulse (short frame sync) or envelope (long frame sync) mode. sets the duration of the pfsx (x = 1 or x = 2) pulse. 0: pfs is an 8-bit envelope lasting from one time slot minus one-half of a dcl period. 1: pfs lasts for one data bit time. 4ckmode gci+ data clock mode. sets the clock mode of the gci+ dcl clock to single or double clock mode when in tdm mode. this bit is ignored in gci mode. 0: dcl set to double clock mode (two clocks per data bit). 1: dcl set to single clock mode (one clock per data bit). 32 grate[1:0] gci+ clock rate. sets the dcl clock rate when in tdm mode. in gci mode (gmode[1:0] = 0x), these bits are ignored, unless they are equal to 00. 00: clock disabled. 01: 512 khz. 10: 1.536 mhz. 11: 2.048 mhz. 10 gmode[1:0] gci+ operation mode. sets the mode of operation of the gci+ interface. when in either of the gci modes (gmode[1:0] = 0x), these bits override the grate[1:0] values, unless grate[1:0] = 00. 00: gci-nt mode. 01: gci-te mode. 1x: tdm mode.
80 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.7 gci+ register set (continued) table 81. gcof1: gci pfs1 offset select (0x2f) table 82. gcof2: gci pfs2 offset select (0x30) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcof1 r/w gtmode g_r_lbk g_l_lbk off14 off13 off12 off11 off10 resetdefault00000000 bit # symbol name/description 7gtmode gci time-out mode. (only applicable on gci-nt and gci-te operation modes.) enables the gci time-out mechanism. 0: time-out mechanism disabled. 1: time-out mechanism enabled (abort after three tnr or rnrs), (0.5 ms since the beginning of transmission). 6 g_r_lbk gci remote loopback. 0: normal operation. 1: upstream b1- and b2-channel data on the gci is internally looped back to the downstream gci. loopback is transparent, except when g_l_lbk is asserted at the same time. 5 g_l_lbk gci local loopback. 0: normal operation. 1: downstream b1- and b2-channel data on the gci is internally looped back to the upstream gci. loopback is transparent, except when g_r_lbk is asserted at the same time. 40 off1[4:0] offset of ps1. determines the number of channel slots by which pfs1 (b1 channel) is offset from the first time slot of the frame. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcof2 r/w u_force_b2dn u_force_b1dn off24 off23 off22 off21 off20 resetdefault 0 0 000000 bit # symbol name/description 7 u_force_b2dn microcontroller access to downstream b2 channel. when this bit is set, the microcontroller can access the downstream b2-channel data from the u-interface to the gci via the register b2dn (0x54) assuming that dfr[b2_sel] = 1 and ecr0[lb2] = 0. 6 u_force_b1dn microcontroller access to downstream b1 channel. when this bit is set, the microcontroller can access the downstream b1-channel data from the u-interface to the gci via the register b1dn (0x53) assuming that dfr[b1_sel] = 1 and ecr0[lb1] = 0. 5 reserved. program to 0. 40 off2[4:0] offset of pfs2. determines the number of time slots by which pfs2 (b2-channel) is offset from the first time slot of the frame.
lucent technologies inc. 81 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.7 gci+ register set (continued) the following registers are only relevant in gci mode, with the exception of gcir[gwup] and gcie[gwupe]. table 83. gcdmd: gci downstream (transmit) monitor data (0x31) table 84. gcdml: gci downstream (transmit) monitor data last (0x32) table 85. gcumd: gci upstream (receive) monitor data (0x33) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcdmd w dmd7 dmd6 dmd5 dmd4 dmd3 dmd2 dmd1 dmd0 resetdefault11111111 bit # symbol name/description 70 dmd[7:0] downstream monitor data. for any multibyte monitor message, all message bytes except the last one are written to this register for transmission on the downstream monitor channel (see section 10.3.2, monitor message transfer). the dmrdy interrupt bit provides an indica- tion that a new byte may be loaded. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcdml w dml7 dml6 dml5 dml4 dml3 dml2 dml1 dml0 resetdefault11111111 bit # symbol name/description 70 dml[7:0] downstream monitor last . the last byte of a downstream monitor message is written to this register for transmission on downstream monitor channel (see section 10.3.2, monitor mes- sage transfer). the dmrdy interrupt bit provides an indication that a new byte may be loaded. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcumd w umd7 umd6 umd5 umd4 umd3 umd2 umd1 umd0 resetdefault bit # symbol name/description 70 umd[7:0] upstream monitor channel received data. the most recent successfully received byte of an upstream monitor message is made available in this register (see section 10.3.2, monitor message transfer). the umrdy interrupt bit provides an indication that a new byte has been received.
82 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.7 gci+ register set (continued) table 86. gcdci: gci downstream (transmit) c/i data (0x34) table 87. gcuci: gci upstream (receive) c/i data (0x35) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcdci r/w dci6 dci5 dci4 dci3 dci2 dci1 resetdefault0 0 bit # symbol name/description 76 reserved. program to 0. 50 dci[6:1] downstream command/indication code. the microcontroller writes the desired down- stream (transmit) c/i code to this register. the code will be continuously transmitted until a new code is written. the internal gci controller will not read the new code from the gcdci until the current code has been transferred in at least two consecutive frames (see section 10.4, c/i message transfer). reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcuci r/w uci6 uci5 uci4 uci3 uci2 uci1 resetdefault0 0 bit # symbol name/description 76 reserved. program to 0. 50 uci[6:1] upstream command/indication code. validated upstream (receive) c/i codes are stored here. the validation circuit employs a double last look criterion, i.e., a new code is transferred to the gcuci register only if it is different from the previously loaded value and is received in two consecutive gci frames. the ucic interrupt bit provides an indication that a new vali- dated byte has been received.
lucent technologies inc. 83 advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.7 gci+ register set (continued) table 88. gcir: gci interrupt register (0x36) note: all bits in this register are set to 1 upon occurrence of the corresponding interrupt condition, and are cleared to 0 when the register is read. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcir r gwup ucic umrdy umeom umabrt dmrdy dmeom dmabrt resetdefault00000000 bit # symbol name/description 7gwup gci wake-up interrupt. this interrupt occurs when the following two conditions are true: 1. gci clocks are stopped (gccf[grate(1:0)] = 00). 2. a falling edge of du occurs. 6ucic upstream command/indication change. this interrupt occurs upon the reception of a new, validated c/i code in register gcuci. at reset, the internal c/i code is set to 111111. 5 umrdy upstream monitor byte ready. this interrupt occurs when a newly received monitor byte is available in register gcumd. 4umeom upstream monitor end of message. this interrupt occurs when the last byte of a monitor message has been successfully received. 3umabrt upstream monitor aborted. this interrupt occurs when an abort has been detected in the received monitor message. 2 dmrdy downstream monitor ready. this interrupt occurs to indicate that the downstream monitor buffer is empty and a new byte may be loaded into gcdmd or gcdml. 1dmeom downstream end of message. this interrupt occurs when the far end acknowledges the successful reception of the last byte of a downstream message. 0dmabrt downstream monitor aborted. this signal is asserted when, during the transmission of a downstream monitor message, a request to abort has been received from the downstream device.
84 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 10 gci+ interface module (continued) 10.7 gci+ register set (continued) table 89. gcie: gci interrupt enable (0x37) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gcie r gwupe ucice umrdye umeome umabrte dmrdye dmeome dmabrte reset default 0 0 0 0 0 0 0 0 bit # symbol name/description 7 gwupe gci wake-up interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 6 ucice ucic interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 5 umrdye umrdy interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 4umeome umeom interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 3umabrte umabrt interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 2 dmrdye dmrdy interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 1dmeome dmeom interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 0dmabrte dmabrt interrupt enable. 0: interrupt disabled. 1: interrupt enabled.
lucent technologies inc. 85 advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports three general-purpose input/output ports are available on the T9000 device with each port being 8 bits wide. for any port, each signal may be individually config- ured as an input or as an output by proper program- ming of registers gpdir[0:2]. on reset, all ports are configured as inputs. all gpio signals have a weak pull-up resistor of 100 k w (nominal value). unneeded gpio signals should be configured as inputs, and may be left uncon- nected. if connected on the board, it is recommended to be tied to v dd to avoid power consumption. registers gpd[0:2] contain the value on the gpio pin. for gpio pins configured as inputs, the microcontroller accesses the port value by reading its corresponding gpd register. for gpio pins configured as outputs, the microcontroller writes the desired value into its corre- sponding gpd register. gpio0.[3:0] and gpio1.[3:0] pins, when configured as inputs (see registers gpdir0 and gpdir1), may also be configured as level-activated or transition-activated external interrupt sources for the microcontroller (see registers gppol and gplei). any of these eight exter- nal interrupt sources may be masked by proper pro- gramming of register gpie. on module reset, all interrupts are disabled. gpio interrupt register (gpir) is cleared when read by the microcontroller. gpio0.[3:0] and gpio1.[3:0] pins, when configured as inputs, present a schmitt trigger buffer for better noise immunity. gpaf0 and gpaf1 registers define alternate functional modes for some gpio pins. n gpaf0[gpaf0.(7:6)] register bits, when set, override gpdir0 [dir0.(7:6)] and configure gpio0.[7:6] as the pwm 1 output. n gpaf0[gpaf0.(5:4)] register bits, when set, override gpdir0[dir0.(5:4)] and configure gpio0.[5:4] as pwm0 outputs. n gpaf1[gpaf1.(7:5)] register bits, when set, override gpdir[dir1.(7:5)] and configure gpio1.[7:5] as input trigger sources for timers 2, 1, and 0 (for proper timer operation, the microcontroller should also con- figure the associated sfr register bit for each timer). n gpaf1[gpaf2.3] register bit, when set, overrides the gpdir2[dir2.3] register bit and configures gpio2.3 as a synco output from the dc/dc module (see section 13, dc/dc control generator). n gpaf1[gpaf2.2] register bit, when set, overrides the gpdir2[dir2.2] register bit and configures gpio2.2 as the reference frame sync clock (fsc) output as specified in section 10, gci+ interface module. n gpaf1[gpaf2.1] register bit, when set, overrides the gpdir2[dir2.1] register bit and configures gpio2.1 as the gci bit clock (bclk) output (as specified in section 10, gci+ interface module). n gpaf1[gpreset] provides a nonlatching software reset of the gpio module. it has the same effect as a global reset or a global software reset. n docr[lt_nt] register bit, when set, ignores gpdir2[dir2.6] and configures gpio2.6 as the input for 8 khz master transmit clock (mtc) signal. n when the test pin (pin 43) is asserted, gpio1.4 and gpio2.7 change their functions to ussp_e and ptlb_s, respectively, as explained in table 4. all registers are read/write to allow read-modify-write operations by the microcontroller. transition activated interrupt sources may be individually reset by writing a 1 to the associated bits of gppol register. all gpio port signals are ttl levels. driving capability is 6 ma for gpio2.0 signal and 1 ma for all others. figure 20 summarizes features available for all gpio signals.
86 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports (continued) note: alternate pin functions, shown in parentheses (), are selected when the test pin is asserted. alternate pin functions, shown in brackets [], are selected when the corresponding register bits are set. 5-6529f.c figure 20. gpio pin capabilities summary 11.1 gpio register set table 90. gpdir0: gpio port 0 pin direction (0x38) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpdir0 r/w dir0.7 dir0.6 dir0.5 dir0.4 dir0.3 dir0.2 dir0.1 dir0.0 resetdefault11111111 bit # symbol name/description 70 dir0.[7:0] gpio0.[7:0] pin direction. 0: output. 1: input. note: when any of bits 7:4 in register gpaf0 are set, the corresponding dir0.x value in this register is ignored and the pin function is determined according to the gpaf0 register function. .0 .1 .2 .3 .4 .5 .6 .7 a a a a [pwmo00] [pwmo01] [pwmo10] [pwmo11] gpio0 .0 .1 .2 .3 .4 .5 .6 .7 a a a a c [t0] c [t1] c [t2] gpio1 .0 .1 .2 .3 .4 .5 .6 d [bclk] [fsc] [synco] gpio2 .7 (ussp_e) [mtc] (ptlb_s) a : external interrupt capability. c : optional trigger sources for timers. d : 6 ma sink capability. : schmitt trigger when inputs. legend:
lucent technologies inc. 87 advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports (continued) 11.1 gpio register set (continued) table 91. gpdir1: gpio port 1 pin direction (0x39) table 92. gpdir2: gpio port 2 pin direction (0x3a) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpdir1 r/w dir1.7 dir1.6 dir1.5 dir1.4 dir1.3 dir1.2 dir1.1 dir1.0 resetdefault11111111 bit # symbol name/description 70 dir1.[7:0] gpio1.[7:0] pin direction. 0: output. 1: input. note: when any of bits 7:5 in register gpaf1 are set, the corresponding dir1.x value in this register is ignored and the pin function is determined according to the gpaf1 register function. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpdir2 r/w dir2.7 dir2.6 dir2.5 dir2.4 dir2.3 dir2.2 dir2.1 dir2.0 resetdefault11111111 bit # symbol name/description 70 dir2.[7:0] gpio2.[7:0] pin direction. dir2.x defines the pin direction for gpio2.x. 0: output. 1: input. notes: when any of bits 3:1 in register gpaf1 are set, the corresponding dir2.x value in this register is ignored and the pin function is determined according to the gpaf1 register function. when docr[lt_nt] bit is set to 1 (ntn device is in lt mode), the dir2.6 value is ignored and pin gpio2.6 becomes an input to the 8 khz mtc signal.
88 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports (continued) 11.1 gpio register set (continued) table 93. gpaf0: gpio alternate function register #0 (0x3b) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpaf0 r/w gpaf0.7 gpaf0.6 gpaf0.5 gpaf0.4 resetdefault00000000 bit # symbol name/description 7gpaf0.7 gpio0.7 alternate function selection. 0: no effect on device operation. 1: overrides gpdir[dir0.7]. gpio0.7 is configured as output #1 of the pwm module #1. 6gpaf0.6 gpio0.6 alternate function selection. 0: no effect on device operation. 1: overrides gpdir0[dir0.6]. gpio0.6 is configured as output #0 of the pwm module #1. 5gpaf0.5 gpio0.5 alternate function selection. 0: no effect on device operation. 1: overrides gpdir0[dir0.5]. gpio0.5 is configured as output #1 of the pwm module #0. 4gpaf0.4 gpio0.4 alternate function selection. 0: no effect on device operation. 1: overrides gpdir0[dir0.4]. gpio0.4 is configured as output #0 of the pwm module #0. 30 reserved. program to 0.
lucent technologies inc. 89 advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports (continued) 11.1 gpio register set (continued) table 94. gpaf1: gpio alternate function register #1 (0x3c) table 95. gpd0: gpio port 0 data register (0x3d) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpaf1 r/w gpaf1.7 gpaf1.6 gpaf1.5 gpaf2.3 gpaf2.2 gpaf2.1 gpreset reset default 0 0 0 0 0 0 0 0 bit # symbol name/description 7gpaf1.7 gpio1.7 alternate function selection. 0: no effect on device operation. 1: overrides gpdir1[dir1.7] value. gpio1.7 is configured as the timer 2 external input (connects directly to p1.0 of the microcontroller module). 6gpaf1.6 gpio1.6 alternate function selection. 0: no effect on device operation. 1: overrides gpdir1[dir1.6] value. gpio1.6 is configured as the timer 1 external input (connects directly to p3.5 of the microcontroller module). 5gpaf1.5 gpio1.5 alternate function selection. 0: no effect on device operation. 1: overrides gpdir1[dir1.5] value. gpio1.5 is configured as the timer 0 external input (connects directly to p3.4 of the microcontroller module). 4 reserved. program to 0. 3gpaf2.3 gpio2.3 alternate function selection. 0: no effect on device operation. 1: overrides gpdir2[dir2.3] value. gpio2.3 is configured as the synco output from the dc/dc module. 2gpaf2.2 gpio2.2 alternate function selection. 0: no effect on device operation. 1: overrides gpdir2[dir2.2] value. gpio2.2 is configured as the fsc output from the gci module. 1gpaf2.1 gpio2.1 alternate function selection. 0: no effect on device operation. 1: overrides gpdir2[dir2.1] value. gpio2.1 is configured as the bclk output from the gci module. 0 gpreset gpio reset. resets all the gpio bits. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpd0 r/w gpd0.7 gpd0.6 gpd0.5 gpd0.4 gpd0.3 gpd0.2 gpd0.1 gpd0.0 resetdefault00000000 bit # symbol name/description 70 gpd0.[7:0] i/o data on gpio port 0.
90 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports (continued) 11.1 gpio register set (continued) table 96. gpd1: gpio port 1 data register (0x3e) table 97. gpd2: gpio port 2 data register (0x3f) table 98. gplei: gpio level-edge-triggered interrupt control (0x40) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpd1 r/w gpd1.7gpd1.6gpd1.5gpd1.4gpd1.3gpd1.2gpd1.1gpd1.0 resetdefault00000000 bit # symbol name/description 70 gpd1.[7:0] i/o data on gpio port 1. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpd2 r/w gpd2.7 gpd2.6 gpd2.5 gpd2.4 gpd2.3 gpd2.2 gpd2.1 gpd2.0 resetdefault00000000 bit # symbol name/description 70 gpd2.[7:0] i/o data on gpio port 2. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gplei r/w ile1.3 ile1.2 ile1.1 ile1.0 ile0.3 ile0.2 ile0.1 ile0.0 resetdefault11111111 bit # symbol name/description 74 ile1.[3:0] level/edge interrupt control for gpio1.[3:0]. only applicable when pin is in input mode (see register gpdir1). ile1.x defines the interrupt mechanism for gpio1.x pin. 0: level-triggered. 1: edge-triggered. 30 ile0.[3:0] level/transition interrupt control for gpio0.[3:0]. only applicable when pin is in input mode (see register gpdir0). ile0.x defines the interrupt mechanism for gpio0.x. 0: level-triggered. 1: edge-triggered.
lucent technologies inc. 91 advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports (continued) 11.1 gpio register set (continued) table 99. gppol: gpio interrupt polarity control (0x41) table 100 . gpir: gpio interrupt register (0x42) note: all bits in this register are set to 1 upon occurrence of the corresponding interrupt condition and are cleared to 0 when the register is read, except in level-triggering mode. when in level-triggering mode, this register is cleared when read only if the source of the interrupt has been taken away. they are also cleared upon writ- ing a one to the corresponding bits in gppol registers. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gppol r/w ipol1.3 ipol1.2 ipol1.1 ipol1.0 ipol0.3 ipol0.2 ipol0.1 ipol0.0 resetdefault11111111 bit # symbol name/description 74 ipol1.[3:0] interrupt polarity for gpio1.[3:0] pins. only applicable when pin is an input (see regis- ter gpdir1). ipol1.x specifies value of gpio1.x that generates an interrupt. 0: level-triggered => interrupt when level is 0. edge-triggered => interrupt on falling edge. 1: level-triggered => interrupt when level is 1. edge-triggered => interrupt on rising edge. 30 ipol0.[3:0] interrupt polarity for gpio0.[3:0] pins. only applicable when pin is an input (see regis- ter gpdir0). ipol0.x specifies value of gpio0.x that generates an interrupt. 0: level-triggered => interrupt when level is 0. edge-triggered => interrupt on falling edge. 1: level-triggered => interrupt when level is 1. edge-triggered => interrupt on rising edge. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpir r/w gpi1.3 gpi1.2 gpi1.1 gpi1.0 gpi0.3 gpi0.2 gpi0.1 gpi0.0 resetdefault bit # symbol name/description 74 gpix.[3:0] gpio1.x interrupt. this interrupt occurs when the appropriate edge or level, as deter- mined by the gplei and gppol registers, has been sensed on the corresponding gpio pin. 30 gpix.[3:0] gpio0.x interrupt. this interrupt occurs when the appropriate edge or level, as deter- mined by the gplei and gppol registers, has been sensed on the corresponding gpio pin.
92 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 11 gpio ports (continued) 11.1 gpio register set (continued) table 101. gpie: gpio interrupt enable (0x43) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 gpie r/w gpie13 gpie12 gpie11 gpie10 gpie03 gpie02 gpie01 gpie00 resetdefault00000000 bit # symbol name/description 74 gpie1.[3:0] gpio1.x interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 30 gpie0.[3:0] gpio0.x interrupt enable. 0: interrupt disabled. 1: interrupt enabled.
lucent technologies inc. 93 advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module the pwm module is comprised of a general-purpose dual pulse-width modulator with sine modulation capability. each module is capable of generating a sequence of pulses of programmable width and period. the generated pulses are centered in the programmed period. figure 21 illustrates a general case of the pwm output signal for the two pwm generators. normally, the pulse period is determined ahead of time and does not change during the pulse train generation. pulse-width values change according to the users desired algorithm. in pots applications, pulse-width modulated signals are typically used for generation of: n call alert signals (20 hz to 30 hz typical) n billing signals (50 hz and 12 khz typical) n answering machine control signals (2 khz typical) n identification tones (697 hz to 2 khz) in these applications, the width of the pwm signal is modulated according to the amplitude of a sine wave sampled at pulse period intervals. the pwm signal is then low-pass filtered with a simple rc integrator. there are three configuration registers per pwm generator: pwxcf, pwxvh, and pwxvl, where x = 0 or 1. in addition, there is a common pwm interrupt register (pwir) shared by both generators. both generators are identi- cal, so references to these registers in the explanation that follows will simply use x in place of 0 or 1 in the register names. each pwm output can be made available on two separate gpio pins according to the programming of register bits gpaf0.[7:4]. this allows the same pwmo to drive two different external devices by proper programming of regis- ter gpaf0.[7:4]. for example, the outputs of pwmo (pwmo00 and pwmo01) can drive two external devices and the outputs of pwm1 (pwmo10 and pwmo11) can also drive 2 different external devices. 5-6522f figure 21. pulse-width modulated output signal pwm see detail below range tick range tick range tick pw pwm pw
94 94 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) for low-frequency tones (hz range), the algorithm that defines the width of the pulse is easily accomplished with microcontroller routines (manual mode). however, implementing higher frequency tones (khz range) requires a large degree of microcontroller intervention. to address this issue, the pwm generators were designed to operate in two different modes: manual/ timer mode and auto mode. 12.1 pwm manual/timer operation mode in manual mode, the user may implement any desired algorithm to define the width of the pulses. two impor- tant parameters that are controlled via the pwxcf reg- ister are pulse-width granularity and pulse-width range. pulse-width granularity defines the minimum duration (or tick) of a pulse width. pulse-width range denotes the number of possible ticks in a pulse period or, in other words, the number of different width values with which the pulse can be modulated. the tick size and pulse period may be expressed as: tick = granularity x 65 ns (1) pp = range x tick = range x granularity x 65 ns (2) concerning the above relationships, note the following: n a small granularity allows for a finer resolution of the resulting output signal in time, and therefore requires less filtering. n a large range allows for a finer resolution, in ampli- tude, of the resulting output signal. n power consumption is roughly inversely proportional to the granularity value, so the larger the granularity, the less power the circuit will consume. n as granularity and range are increased, the equiva- lent oversampling rate is decreased (i.e., the pulse period, pp, increases as shown in equation 2 above). at the start of a pulse period, the controller loads the value contained in register pwxvh and generates a pulse with a width pwxvh multiplied by the tick value (where only the appropriate msbs of pwxvh are used according to the tick value, see register pwxvh). the value in pwxvl determines the rate at which the pwir[pwxi] interrupt register bit will be asserted. the module asserts the pwir (pwxi) interrupt register bit every pwxvl + 1 pulse period intervals. the interrupt is generated only if the pwxcf (pwxie) bit is set. the interrupt is asserted even if gpio pin is not assigned to the pwmx generator. the interrupt register is reset upon a register read operation. 12.2 pwm auto operation (sine) mode the auto mode uses a sine modulator controller (pwsm) to substantially reduce the overhead require- ment of the microcontroller. in this mode, the width of the pulses automatically follows the amplitude of a sine wave of frequency fs. a 256-byte rom is used to store discrete values of amplitude for one period of a sine wave, where each successive rom location, n, represents the sine amplitude at a normalized time of t = n/256. figure 22 shows a simplified architecture of the pwm block (the shaded areas indicate the extra logic required for implementing the sine wave functionality). the 8-bit rom address is derived from the upper 8 bits of the 16-bit accumulator output. the accumulator sim- ply adds the 16-bit value formed by the pwxvh and pwxvl registers (pwv) to its output every cycle, where the cycle time is determined by the pulse period, pp. consider then, how pwv and pp affect the output. when pwv is <2 8 , each rom value will be output for a least one cycle, and possibly even more (depending on how far below 2 8 the pwv value is). conversely, when pwv is >2 8 , some rom values will be skipped. thus, as the value of pwv drops below 2 8 , it has the effect of increasing the quantization error in the amplitude of the sinewave output. pwv, then, can be thought of as controlling the rom step size (where the step size can be <1). when pp is large, the rate at which each newly formed rom address is output is slower than when pp is small. therefore, if all other factors are equal, a larger pp will result in a lower frequency sinewave output. pp, then, can be thought of as controlling the rom step rate. in auto mode, range and granularity take on a some- what different meaning than in manual mode. in auto mode, equations (1) and (2) still hold with respect to range and granularity, but tick does not play a direct role in this case. rather, it is the combination of range and granularity that determines the frequency and amplitude resolution of the output waveform as explained above.
lucent technologies inc. 95 advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.2 pwm auto operation (sine) mode (continued) 5-7204f figure 22. pwmcntrl architecture interface with pwsm1 pw1vh pw1vl pw1cf pw0cf time base generator width1 accum1[15:8] interface with pwsm0 pw0vl pw0vh width0 accum0[15:8] accum1[15:0] accum0[15:0] address pwmrom (256 x 8) data_out pw1v pw0v
96 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.3 pwsm rom as mentioned above, the rom shown in figure 22 is used to store the amplitude values of one complete cycle of a sine wave. the rom address generated by the accumulator determines the current rom output value. the sine amplitudes in the rom represent a sine wave with a 2.5%97.5% scale and a dc offset of 128 (out of 256). the values can be expressed by the following formula: w(a) = round (128 x [1 + 0.95 x sin {2 x p x a/256}]) table 102 illustrates the resulting value w(a) at each rom address a. table 102. rom code values in decimal (a = address; w = width). awawawawawawawaw 0 128 32 214 64 250 96 214 128 128 160 42 192 6 224 42 1 131 33 216 65 250 97 212 129 125 161 40 193 6 225 44 2 134 34 218 66 249 98 210 130 122 162 38 194 7 226 46 3 137 35 220 67 249 99 207 131 119 163 36 195 7 227 49 4 140 36 222 68 249 100 205 132 116 164 34 196 7 228 51 5 143 37 224 69 249 101 203 133 113 165 32 197 7 229 53 6 146 38 226 70 248 102 200 134 110 166 30 198 8 230 56 7 149 39 227 71 248 103 198 135 107 167 29 199 8 231 58 8 152 40 229 72 247 104 196 136 104 168 27 200 9 232 60 9 155 41 232 73 247 105 193 137 101 169 25 201 9 233 63 10 158 42 231 74 246 106 191 138 98 170 24 202 10 234 65 11 160 43 234 75 245 107 188 139 96 171 22 203 11 235 68 12 163 44 235 76 244 108 185 140 93 172 21 204 12 236 71 13 166 45 237 77 243 109 183 141 90 173 19 205 13 237 73 14 169 46 238 78 242 110 180 142 87 174 18 206 14 238 76 15 172 47 239 79 241 111 177 143 84 175 17 207 15 239 79 16 175 48 240 80 240 112 175 144 81 176 16 208 16 240 81 17 177 49 241 81 239 113 172 145 79 177 15 209 17 241 84 18 180 50 242 82 238 114 169 146 76 178 14 210 18 242 87 19 183 51 243 83 237 115 166 147 73 179 13 211 19 243 90 20 185 52 244 84 235 116 163 148 71 180 12 212 21 244 93 21 188 53 245 85 234 117 160 149 68 181 11 213 22 245 96 22 191 54 246 86 232 118 158 150 65 182 10 214 24 246 98 23 193 55 247 87 231 119 155 151 63 183 9 215 25 247 101 24 196 56 247 88 229 120 152 152 60 184 9 216 27 248 104 25 198 57 248 89 227 121 149 153 58 185 8 217 29 249 107 26 200 58 248 90 226 122 146 154 56 186 8 218 30 250 110 27 203 59 248 91 224 123 143 155 53 187 7 219 32 251 113 28 205 60 249 92 222 124 140 156 51 188 7 220 34 252 116 29 207 61 249 93 220 125 137 157 49 189 7 221 36 253 119 30 210 62 249 94 218 126 134 158 46 190 7 222 38 254 122 31 212 63 250 95 216 127 131 159 44 191 6 223 40 255 125
lucent technologies inc. 97 advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.4 pwm auto mode example consider an example of how to set up the pwm mod- ule in auto mode. suppose we want to generate a sine wave of frequency fs. first select the values of range and granularity, and then compute the appropriate value of pwxvh/l. to accomplish this, the procedure is as follows: calculate the pulse period, pp, (from equation 2) pp = range x granularity x 65 ns (3) calculate the sine period, sp: sp = (4) based on pp and sp, we can calculate the number of samples (ks) per sine period: ks = = (5) now calculate the 16-bit quantity pwv (i.e., pwvxh/l, the amount by which the accumulator will increment each time as shown in figure 22). there are 2 16 total addresses in one sine period, sp. since there are ks samples in one sine period, 2 16 must be divided by ks so that exactly one cycle of all 2 16 addresses has been completed in one sine period, sp. the rounded result is pwv, which gets written into the pwxvh and pwxvl registers: pwv = round = round (6) now, back-calculate the actual number of samples (ka) based on the rounded result: ka = (7) to find the error in frequency due to rounding, first back-calculate the actual frequency of the sine modula- tor output by taking the inverse of the pulse period times the actual number of samples, as follows: fa = (8) then calculate the error in frequency as: ferr = x 100% (9) to further understand the operation of the pwsm mod- ule, consider the math behind the operation. the sine wave being generated can be described by the follow- ing equation: f(t) = asin (2 p x fa x t) (10) where fa is computed per equation 8. a new value for this equation is computed every pulse period, pp. therefore, in the n th pulse period (where n is an inte- ger representing the current sample number, beginning with sample 0), the time (t) in the above equation is: t = n x pp (11) substituting equation 11 into equation 10 yields: f(t) = asin (2 p x fa x n x pp) (12) now rearranging equation 8, pp = (13) and substituting the value of ka computed in equation 7 results in: pp = (14) substituting equation 14 into equation 12 yields: f(t) = asin (2 p ) (15) from equation 15, it is evident that the argument gen- erated sine wave is n x pwv. this term is generated at the output of the accumulator shown in figure 22 by clocking the accumulator at pp intervals. the maxi- mum value of n x pwv is 2 16 because the accumulator will roll over after it reaches 2 16 . therefore, the factor of 2 16 in the denominator is the normalization factor, which is equal to the maximum value of n x pwm. 1 f s ------- sp pp -------- - sp range granularity 65 ns -------------------------------------------------------------------------------------- - 2 16 k s --------- ? ? ?? 2 16 range granularity 65 ns sp ------------------------------------------------------------------------------------------------------ - ? ? ?? 2 16 pwv --------------- - 1 pp ka ----------------------- - fa f s C f s --------------------- 1 fa ka ---------------------- - pwv fa 2 16 ----------------------- - npwv 2 16 ----------------------- -
98 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.4 pwm auto mode example (continued) in the physical circuit implementation, the width of the pulse follows a 2.5%97.5% modulation scheme and depends on the granularity and tick values as described in the following equation: w(n) = floor x tick (16) note that, in step 1 of the above procedure (equation 3), it is assumed that range and granularity have already been chosen. it is useful to look at the effects of selecting different values for range and granularity in order to guide the selection of these values for a particular application. consider an example using real numbers. suppose it is desired to generate a sine wave of frequency fs = 697 hz. table 103 shows the resulting values of pwv, ka, fa, and frequency error (ferr) for all possible values of range and granularity. table 103. pwm sine modulator programming example one interesting result in table 103 is that, for different combinations of granularity (g) and range (r) whose prod- ucts are equal, the resulting parameters for the sine wave output in each case are identical. for example, the pairs (g = 1, r = 256), (g = 2, r = 128), (g = 4, r = 64), and (g = 8, r = 32) all yield identical values of pwv, ka, fa, and ferr. however, note from equation 16 that larger values of granularity will produce more rounding error for a given w(n). granularity range pp ( m s) ks (fs = 697) pwv ka fa ferr (%) 1 32 2.08 688.666 95 689.85 695.80 0.17 1 64 4.17 344.333 190 344.93 695.80 0.17 1 128 8.33 172.166 381 172.01 697.63 - 0.09 1 256 16.67 86.083 761 86.12 696.72 0.04 2 32 4.17 344.333 190 344.93 695.80 0.17 2 64 8.33 172.166 381 172.01 697.63 - 0.09 2 128 16.67 86.083 761 86.12 696.72 0.04 2 256 33.33 43.042 1523 43.03 697.17 - 0.02 4 32 8.33 172.166 381 172.01 697.63 - 0.09 4 64 16.67 86.083 761 86.12 696.72 0.04 4 128 33.33 43.042 1523 43.03 697.17 - 0.02 4 256 66.67 21.521 3045 21.52 696.95 0.01 8 32 16.67 86.083 761 86.12 696.72 0.04 8 64 33.33 43.042 1523 43.03 697.17 - 0.02 8 128 66.67 21.521 3045 21.52 696.95 0.01 8 256 133.33 10.760 6090 10.76 696.95 0.01 16 32 33.33 43.042 1523 43.03 697.17 - 0.02 16 64 66.67 21.521 3045 21.52 696.95 0.01 16 128 133.33 10.760 6090 10.76 696.95 0.01 16 256 266.67 5.380 12181 5.38 697.00 0.00 round 128 1 0.95 + 2 p npwv 2 16 ----------------------- - ? ? ?? sin ? ? ?? ? ? ?? granularity ------------------------------------------------------------------------------------------------------------------------------- --------- - ? ? ? ? ? ? ??
lucent technologies inc. 99 advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.4 pwm auto mode example (continued) as mentioned earlier, when pwv is is greater than 2 8 , some rom values will be skipped. another way of stating this is that, when ka is less than 2 8 , some rom values will be skipped. this is true by definition, since ka repre- sents the number of samples output during one period of a sine wave, and there are 2 8 rom samples. if one crite- rion of the generated sinewave is that the amplitude be as accurate as possible (i.e., no rom values are skipped), then the choice of entries in table 103 above are limited to those whose values of ka that are greater than or equal to 256. note that only three of the entries meet this requirement in this example. this example is provided to illustrate some of the considerations when selecting values for range and granularity. it may be useful to construct a spreadsheet that reproduces table 103 (which itself was generated using a spread- sheet) for the frequency value of interest. other engineering trade-offs, such as low-pass filter complexity vs. pwm output accuracy, are beyond the scope of this document but may be important to consider depending on the spe- cific system requirements. 5-6524f figure 23. widths of pwm pulses generated with a 2.5% 97.5% modulation width 35 30 25 20 15 10 5 0 0 2 4 6 8 10121416182022 sample (period) # pulse width 2.5%97.5% sine modulation samples 24 26 28 30
100 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.5 pwm powerdown mode each pwm generator can be powered down by setting pwxcf (pwxe) register bit to 0. 12.6 pwm module register set table 104. pw0cf: pulse-width modulator 0 configuration (0x44) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pw0cf r/w pw0_e pw0auto pw0ie pw0g.2 pw0g.1 pw0g.0 pw0r.1 pw0r.0 reset default 0 0 bit # symbol name/description 7pw0_e pwm 0 enable. 0: powerdown mode. pwmo0 output is maintained at 0. 1: pulse-width modulator enabled. in a normal operation, this register should be set after defining pp0. 6 pw0auto pwm 0 auto/manual operation mode. 0: manual/timer operation mode. 1: sine modulator activated. 5 pw0ie pwm 0 interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 42 pw0g.[2:0] pwm 0 granularity. this parameter defines the granularity of the output pulse; i.e., the minimum pulse width at high (tick0). pulse period and pulse width are multiples of the tick0 value (see pulse-width range below). 000: granularity = 1 001: granularity = 2 010: granularity = 4 011: granularity = 8 1xx: granularity = 16 tick0 = 65 ns. tick0 = 130 ns. tick0 = 260 ns. tick0 = 521 ns. tick0 = 1042 ns. 10 pw0r.[1:0] pwm 0 range. this parameter defines the number of different values the pulse width can take. pulse period (pp0) is a function of the pulse-width granularity and the pulse-width range, as follows: 00: range = 32 01: range = 64 10: range = 128 11: range = 256 pp0 = 32 * tick ns. pp0 = 64 * tick ns. pp0 = 128 * tick ns. pp0 = 256 * tick ns.
lucent technologies inc. 101 advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.6 pwm module register set (continued) table 105. pw0vh: pulse-width modulator 0 pulse-width value, high byte (0x45) table 106. pw0vl: pulse-width modulator 0 pulse-width value, low byte (0x46) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pw0vh r/w pw0vh7 pw0vh6 pw0vh5 pw0vh4 pw0vh3 pw0vh2 pw0vh1 pw0vh0 reset default bit # symbol name/description 70 pw0vh[7:0] pwm 0 pulse-width value, high byte. when manual pulse-width control is pro- grammed, the pulse-width high can be expressed as: pw0 = pw0vh[7:0] * tick when pw0r.[1:0] = 11. pw0 = pw0vh[7:1] * tick when pw0r.[1:0] = 10. pw0 = pw0vh[7:2] * tick when pw0r.[1:0] = 01. pw0 = pw0vh[7:3] * tick when pw0r.[1:0] = 00. if auto mode is selected, it contains the high-order byte of the programmed sine fre- quency (fs). reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pw0vl r/w pw0vl7 pw0vl6 pw0vl5 pw0vl4 pw0vl3 pw0vl2 pw0vl1 pw0vl0 resetdefault bit # symbol name/description 70 pw0vl[7:0] pwm 0 pulse-width value, low byte. its function depends on the operation mode selected. when auto operation mode is selected (pw0cf[pw0auto] = 1), it contains the low- order byte of the programmed sine frequency (fs). when manual/timer operation mode is selected (pw0cf[pw0auto] = 0), it defines the rate at which pwir[pw0i] interrupt register bit will be asserted: pwir[pw0i] assertion rate = pp0 x (pw0vl + 1).
102 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.6 pwm module register set (continued) table 107. pw1cf: pulse-width modulator 1 configuration (0x47) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pw1cf r/w pw1_e pw1auto pw1ie pw1g.2 pw1g.1 pw1g.0 pw1r.1 pw1r.0 reset default 0 0 bit # symbol name/description 7pw1_e pwm 1 enable. 0: powerdown mode. pwmo1 output is maintained at 0. 1: pulse-width modulator enabled. in a normal operation, this register should be set after defining pp1. 6 pw1auto pwm 1 auto/manual operation mode. 0: manual programming. 1: sine modulator activated. 5 pw1ie pwm 1 interrupt enable. 0: interrupt disabled. 1: interrupt enabled. 42 pw1g.[2:0] pwm 1 granularity. this parameter defines the granularity of the output pulse; i.e., the minimum pulse width at high (tick1). pulse period and pulse width are multiples of the tick1 value (see pulse-width range below). 000: granularity = 1 001: granularity = 2 010: granularity = 4 011: granularity = 8 1xx: granularity = 16 tick1 = 65 ns. tick1 = 130 ns. tick1 = 260 ns. tick1 = 521 ns. tick1 = 1042 ns. 10 pw1r.[1:0] pwm 1 range. this parameter defines the number of different values the pulse width can take. pulse period (pp1) is a function of the pulse width granularity and the pulse width range, as follows: 00: range = 32 01: range = 64 10: range = 128 11: range = 256 pp1 = 32 * tick1 ns. pp1 = 64 * tick1 ns. pp1 = 128 * tick1 ns. pp1 = 256 * tick1 ns.
lucent technologies inc. 103 advance data sheet april 2000 isdn network termination node (ntn) device T9000 12 pwm module (continued) 12.6 pwm module register set (continued) table 108. pw1vh: pulse-width modulator 1 pulse-width value, high byte (0x48) table 109. pw1vl: pulse-width modulator 1 pulse-width value, low byte (0x49) table 110 . pwir: pulse-width modulator interrupt register (0x4a) note: all bits in this register are set to 1 upon occurrence of the corresponding interrupt condition, and are cleared to 0 when the register is read. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pw1vh r/w pw1vh7 pw1vh6 pw1vh5 pw1vh4 pw1vh3 pw1vh2 pw1vh1 pw1vh0 reset default bit # symbol name/description 70 pw1vh[7:0] pwm 1 pulse-width value, high byte. when manual pulse-width control is pro- grammed, the pulse-width high can be expressed as follows: pw1 = pw1vh[7:0] * tick when pw1r.[1:0] = 11. pw1 = pw1vh[7:1] * tick when pw1r.[1:0] = 10. pw1 = pw1vh[7:2] * tick when pw1r.[1:0] = 01. pw1 = pw1vh[7:3] * tick when pw1r.[1:0] = 00. if auto mode is selected, it contains the high-order byte of the programmed sine fre- quency (fs). reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pw1vl r/w pw1vl7 pw1vl6 pw1vl5 pw1vl4 pw1vl3 pw1vl2 pw1vl1 pw1vl0 resetdefault bit # symbol name/description 70 pw1vl[7:0] pwm # 1 pulse-width value, low byte. its function depends on the operation mode selected. when auto operation mode is selected (pw1cf[pw1auto] = 1), it contains the low- order byte of the programmed sine frequency (fs). when manual/timer operation mode is selected (pw1cf[pw1auto] = 0), it defines the rate at which pwir[pw1i] interrupt register bit will be asserted: pwir[pw1i] assertion rate = pp1 x (pw1vl + 1). reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 pwirrpw1ipw0i resetdefault 0 0 bit # symbol name/description 72 reserved. 10 pwxi pwm x interrupt. this interrupt occurs only in manual/timer mode (pwxauto = 0). once the current pwv value initiates the pwm output waveform, this interrupt is asserted to indicate to the microcontroller that it should load a new value within ppx * (pwxvl + 1) ns. if the microcontroller does not load a new value within this win- dow, the previously loaded value will be used to generate the new pulse. pwxcf[pwxie] is the enable bit for this interrupt.
104 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 13 dc/dc control generator this module generates a square wave signal (50% duty cycle) with a programmable period. the output frequency is controlled by register dccf and ranges from 15 khz to 480 khz. it can be expressed by: f dc/dc = 960/(2 * (dcv + 1)) khz. as an example, dcv = 14 generates a 32 khz square wave output signal. this module can be disabled by setting dccf[dc_e] to 0. the output of this module, synco, is available on pin gpio2.3 when gpaf1[gpaf2.3] is set. if gpaf1[gpaf2.3] = 0, it is recommended that the dc/dc module be disabled to minimize power consumption (see dc_e bit in dcr0 register). 13.1 dc/dc control generator register set table 111. dccf: dc/dc configuration register (0x4b) dccf may be read by the microcontroller, allowing a read-modify-write operation. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 dccf r/w dc_e dcv4 dcv3 dcv2 dcv1 dcv0 resetdefault0 0 0 bit # symbol name/description 76 reserved. program to 0. 5dc_e dc/dc controller enable. when disabled, synco = 0. 0: powerdown. 1: enabled. 40 dcv[4:0] dc prescale value. synco frequency = 960/(2 * (dcv + 1)) khz.
lucent technologies inc. 105 advance data sheet april 2000 isdn network termination node (ntn) device T9000 14 comparators the comparator module consists of three low-power, general-purpose comparators. each comparator has an inde- pendent powerdown mode (cme register). each comparator can generate a separate interrupt (cmir[cmi(2:0)]), when a transition occurs on its output. each interrupt can be programmed to trigger on a 0 to 1 or 1 to 0 output change (cmt register) and may be individually enabled via register cmie. all interrupts are cleared when the cmir register is read. the current output of each comparator (cmv) is available by reading any of the comparator register. when a com- parator is powered down, it retains its current output cmv(i) as illustrated in figure 24, where it is assumed that inn(i) input has a fixed reference voltage. the cmv bits are useful for situations in which it is desirable to poll the state of a comparator; for example, in verifying that a comparator that triggered an interrupt by transitioning through a threshold in a particular direction has not returned to its preceding state. the ability to poll the state of the comparators also allows the use of the comparators without having to enable any of the corresponding inter- rupts. in many applications, analog input signals change at a very low rate. users may implement interrupt-based or polling-based algorithms where the comparator is powered up for a very small fraction of time. in this case, the power consumption is minimized. 5-6726 (f) key: a: interrupt generated (cmi[i] = 1), if enabled (cmie[i] = 1) and falling transition (cmt[i] = 0). b: interrupt generated (cmi[i] = 1), if enabled (cmie[i] = 1) and falling transition (cmt[i] = 1). figure 24. (a) cmv when cme is a periodic pulse and (b) cmv when cme is static inp(i) inn(i) cme(i) cmv(i) cme(i) cmv(i) (1) (2) (1) (2) (1) (2) (1) (2) a b
106 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 14 comparators (continued) table 112 shows the major characteristics of the comparators. table 112. comparator characteristics 14.1 comparators register set table 113. cme: comparator enable (0x4c) table 114 . cmt: comparator transition polarity (0x4d) parameter conditions min nom max unit input common mode (vcm) 03.2v input offset voltage 0 < vcm < 3.2 - 15 15 mv gain vcm = 1, f = 10 khz 124 db cmrr vcm = 1, f = 10 khz 85 db psrr vcm = 1, f = 10 khz 79 db dc power dissipation 0.8 1.5 mw standby power dissipation 3 m w reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 cme r/w cmv.2 cmv.1 cmv.0 cme.2 cme.1 cme.0 reset default 0 0 0 0 0 bit # symbol name/description 7 reserved. program to 0. 64 cmv.[2:0] comparator [2:0] value (read-only field). these status bits indicate the current state of the corresponding comparator output. 3 reserved. program to 0. 20 cme.[2:0] comparator [2:0] enable. 0: comparator disabled (powerdown mode). 1: comparator active. note: on powerdown, any pending interrupts are reset. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 cmt r/w cmv.2 cmv.1 cmv.0 cmt.2 cmt.1 cmt.0 reset default 0 0 1 1 1 bit # symbol name/description 7 reserved. program to 0. 64 cmv.[2:0] comparator [2:0] value (read-only field). these status bits indicate the current state of the corresponding comparator output. 3 reserved. program to 0. 20 cmt.[2:0] comparator [2:0] transition polarity. 0: interrupt on 1-to-0 transition. 1: interrupt on 0-to-1 transition.
lucent technologies inc. 107 advance data sheet april 2000 isdn network termination node (ntn) device T9000 14 comparators (continued) 14.1 comparators register set (continued) table 115. cmir: comparator interrupt register (0x4e) note: bits cmi.[2:0] in this register are set to 1 upon occurrence of the corresponding interrupt condition, and are cleared to 0 when the register is read. table 116. cmie: comparator interrupt enable (0x4f) 14.2 configuration sequence in order to avoid unwanted interrupts when changing the cmt value, the user should satisfy at least one of the fol- lowing two conditions: n the comparator interrupt is disabled. n the comparator is powered down. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 cmir r cmv.2 cmv.1 cmv.0 cmi.2 cmi.1 cmi.0 resetdefault bit # symbol name/description 7 reserved. 64 cmv.[2:0] comparator [2:0] value. these status bits indicate the current state of the correspond- ing comparator output. no interrupt is generated in response to the value in these bits. 3 reserved. 20 cmi.[2:0] comparator [2:0] interrupt. this interrupt indicates that the comparator output has tog- gled in the direction specified in register cmt. reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 cmie r/w cmv.2 cmv.1 cmv.0 cmie.2 cmie.1 cmie.0 reset default 0 0 0 0 0 bit # symbol name/description 7 reserved. program to 0. 64 cmv.[2:0] comparator [2:0] value (read-only field). these status bits indicate the current state of the corresponding comparator output. 3 reserved. program to 0. 20 cmie.[2:0] comparator [2:0] interrupt enable. 0: interrupt disabled (masked). 1: interrupt enabled. masked interrupts are not latched.
108 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 15 test mode when the test pin (pin 43) is asserted, pins 34, 85, and 97 change their existing functions so that the customer can put the device in iloss, single pulses on the u-interface, and pulse template/loopback on s/t-interface test modes, respectively. when the test pin (pin 43) is asserted, pins 29, 30, 32, 35, 40, 41, and 42 also change their existing functions to enable factory testing of the device as explained in table 3 and table 7. note: the existing functions on the above pins will not be available when the test pin is asserted.
lucent technologies inc. 109 advance data sheet april 2000 isdn network termination node (ntn) device T9000 16 loopbacks following is a description of the loopbacks supported by the ntn. the figure below shows the layer-1 loopbacks that are defined in itu-t i.430, appendix i and ansi specification t1.605, appendix g. a complete discussion of these loopbacks is presented in itu-t i.430, appendix i. 5-2482.b (f) figure 25. location of the loopback configurations key loopback channel(s) looped te1 = isdn terminal. r = r reference point. 2 2b+d channels te2 = non-isdn terminal. s = s reference point. 3 2b+d channels ta = terminal adapter. t = t reference point. 4 b1, b2 nt2 = network termination 2. u = u reference point. c b1, b2 nt1 = network termination 1. b1 or b2 2b+d, b1, b2 lt = line termination. a 2b+d, b1, b2 te1 s nt2 nt1 tu lt 2c b1 3 b2 ta te2 r 4 s 4 a a u
110 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 17 absolute maximum ratings stresses in excess of the absolute maximum ratings can cause permanent or latent damage to the device. these are absolute stress ratings only. functional operation of the device is not implied at these or any other conditions in excess of those given in the operation sections of the data sheet. exposure to absolute maximum ratings for extended periods can adversely affect device reliability. external leads can be soldered safely at temperatures up to 300 c. table 117. absolute maximum ratings parameter symbol min max unit dc supply voltage range v dd C0.5 6.5 v storage temperature t stg C55 125 c power dissipation (package limit) p d 7000 mw
lucent technologies inc. 111 advance data sheet april 2000 isdn network termination node (ntn) device T9000 18 handling precautions although protection circuitry has been designed into this device, proper precautions should be taken to avoid expo- sure to electrostatic discharge (esd) during handling and mounting. lucent employs a human-body model (hbm) and charged-device model (cdm) for esd-susceptibility testing and protection design evaluation. esd voltage thresholds are dependent on the circuit parameters used to define the model. no industry-wide standard has been adopted for the cdm. however, a standard hbm (resistance = 1500 w, capacitance = 100 pf) is widely used and, therefore, can be used for comparison. the hbm esd threshold presented here was obtained by using the circuit parameters shown below. table 118. esd threshold voltage device voltage T9000 >500
112 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 19 recommended operating conditions table 119. recommended operating conditions 20 electrical characteristics 20.1 power supply the ntn operates from one power supply: the digital section from a 5.0 v 5% supply and the analog section from a 5.0 v 5% supply. 20.2 power consumption table 120. power consumption 20.3 s/t-interface receiver common-mode rejection table 121. s/t-interface receiver common-mode rejection parameter symbol test condition min typ max unit ambient temperature t a v dd = 5 v 5% 0 70 c v ddd and v dda v dda , v ddd 4.75 5.0 5.25 v gnd to gnd v gg C10 10 mv master clock frequency mclk 15.36 mhz master clock duty cycle mclk 47 53 % conditions loop length 0 kft 18 kft unit nt1 mode u-interface and s/t-interface powered up, microcontroller, and mlse (see table 47 for mlse description) powered down 365 330 mw restricted nt1 power mode u-interface powered up, s/t-interface, microcontroller, and mlse powered down 335 300 mw intelligent nt1 (int1) mode u-interface, s/t-interface, and microcontroller powered up, and mlse powered down 415 380 mw restricted int1 power mode u-interface and microcontroller powered up, s/t-interface, and mlse powered down 385 350 mw parameter symbol specifications unit common-mode rejection (at device pins) cmr 400 mv
lucent technologies inc. 113 advance data sheet april 2000 isdn network termination node (ntn) device T9000 21 crystal characteristics table 122. fundamental mode crystal characteristics these are the characteristics of a parallel resonant crystal for meeting the 100 ppm requirements of t1.601 for nt operation. the parasitic capacitance of the pc board to which the T9000 crystal is mounted must be kept within the range of 0.6 pf 0.4 pf. table 123. internal pll characteristics * set by digital pll; therefore, variations track mtc (lt mode) or u-interface line rate (nt mode). parameter symbol test conditions specifications unit center frequency f o with 25.0 pf of loading 15.36 mhz tolerance including calibration, tempera- ture stability, and aging tol 70 ppm drive level dl maximum 0.5 mw series resistance r s maximum 20 w shunt capacitance c o 3.0 20% pf motional capacitance c m 12 20% ff parameter test conditions min typ max unit total pull range 250 ppm jitter transfer function C3 db point (lt) C3 db point (nt), 18 kft 26 awg 0.45* 5* hz hz jitter peaking at 0.15 hz typical (lt) at 1.5 hz typical (nt) 0.4* 1.0* db db
114 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 22 application diagrams 12-3564 figure 26. nt1 application 12-3565 figure 27. nt1+ application terminal equipment s/t-interface u-interface nt1 T9000 lt customer premises central office terminal equipment analog phone 1 analog phone 2 codecs/ slics s/t-interface u-interface nt1 T9000 lt customer premises central office
lucent technologies inc. 115 advance data sheet april 2000 isdn network termination node (ntn) device T9000 22 application diagrams (continued) 12-3566 figure 28. pair gain application legend: alc: analog line card fs1: frame sync 1 fs2: frame sync 2 slic: subscriber loop interface circuit b1, b2: voice channels codec codec codec alc slic u u b2 fs1 tdm T9000 tdm b2 b1 codec fs2 b1 slic analog phone 2 analog phone 1 micro- processor memory dual sine wave generator micro- processor memory dual sine wave generator T9000 customer premises central office 2b1q
116 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 23 outline diagram 23.1 100-pin tqfp dimensions are in millimeters. note: the dimensions in this outline diagram are intended for informational purposes only. for detailed schematics to assist your design efforts, please contact your lucent technologies account manager. 5-2146c 0.50 typ 1.60 max seating plane 0.08 1.40 0.05 0.05/0.15 detail a detail b 14.00 0.20 16.00 0.20 76 100 1 25 26 50 51 75 14.00 0.20 16.00 0.20 pin #1 identifier zone detail b 0.19/0.27 0.08 m 0.106/0.200 detail a 0.45/0.75 gage plane seating plane 1.00 ref 0.25
lucent technologies inc. 117 advance data sheet april 2000 isdn network termination node (ntn) device T9000 24 ordering information device code package temperature comcode t-9000- - -tl 100-pin tqfp C40 c to +85 c 108556523
118 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary the following section contains tables that list a summary of the entire register set for the T9000. table 124. register set summary global registers table 125. register set summary dfac registers table 126 . register set summary u-interface control registers reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0x00, global interrupt register 0 gir0 r xi0i 125i uii sii gpioi reset default 0 0 0 0 0 0x01, global interrupt register 1 gir1 r xi1i hdlci gcii cmpi pwmi reset default 0 0 0 0 0 0 0 0 0x02, global interrupt enable register gie r/w 125ie ii1e xi1e ii0e xi0e reset default 0 0 0 0 0 0 0 0 0x03, microcontroller clock control register upckr/wclkoeupck2upck1upck0 reset default 1 0 0 0 0 1 1 1 0x04, watchdog timer wdt r/w wdte wdt6 wdt5 wdt4 wdt3 wdt2 wdt1 wdt0 reset default 0 1 1 1 1 1 1 1 0x05, dfac configuration register dfcf r/w iloss usimrst ureset uoads act_ansi autoeoc greset reset default 0 0 0 0 1 0 1 0 0x06, data flow register dfr r/w u_force_b2up u_force_b1up force_d pfs2_act pfs1_act b2_sel b1_sel bswap reset default 0 0 0 0 0 0 0 0 0x07, u-interface control register #0 ucr0 r/w ntm_n ps1 ps2 sai xpcy f_actup actup istp resetdefault 1110 0 0 00 0x08, u-interface control register #1 ucr1 r/w r64t r25t r16t r15t ulbkmux ullbk uspmag ussp_e resetdefault 1111 0 0 00 0x09, u-interface status register #0 usr0 r aib_n febe_n nebe_n uoa_n dea_n oof_n xact actdn resetdefault 1111 1 0 00 0x0a, u-interface status register #1 usr1 r r64r r54r r44r r34r r25r r16r r15r resetdefault 111 1 1 11
lucent technologies inc. 119 advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary (continued) table 127. register set summary eoc control registers table 128. register set summary s-interface registers table 129. register set summary multiframe registers table 130. register set summary u-interface interrupt registers 0x0b, eoc control register 0 command and address reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 ecr0 r/w ccrc ld lb2 lb1 a1t a2t a3t dmt resetdefault 00000001 0x0c, eoc control register 1message ecr1 r/w i1t i2t i3t i4t i5t i6t i7t i8t resetdefault 11111111 0x0d, eoc status register 0command and address esr0 r eccrc eld elb2 elb1 a1r a2r a3r dmr resetdefault 00001111 0x0e, eoc status register 1message esr1 r i1r i2r i3r i4r i5r i6r i7r i8r resetdefault 11111111 0x0f, s-interface control register #0 scr0 r/w stoa fact ft mf_e st_e sreset resetdefault 00000010 0x10, s-interface control register #1 scr1 r/w rlb_d rlb_b2 rlb_b1 te_da resetdefault 00000000 0x11, s-interface status register ssr r fserr rxinfo3 rxinfo1 asi2 asi1 asi0 reset default 0 0 0 0 0 0 0x12, multiframe register, q-channel data mfr0 r qd1 qd2 qd3 qd4 reset default 1 1 1 1 0x13, multiframe register, s-subchannel data mfr1 w ssd1 ssd2 ssd3 ssd4 resetdefault 00000000 0x14, u-interface interrupt register uir r rsf rhsf berr actsc ousc eoc3sc eocsc ecnfy resetdefault 00000 0 00 0x15, u-interface interrupt enable uie r/w rsfe rhsfe berre actsce ousce eoc3sce eocsce resetdefault 00000 0 0
120 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary (continued) table 131. register set summary s-interface interrupt registers 0x16, s-interface interrupt register sir r ssc fserr qsc ssrdy reset default 0 0 0 0 0x17, s-interface interrupt enable sie r/w ssce fserre qsce ssrdye reset default 0 0 0 0 0 0 0 0 0x50, device operation control register docr r/w force_sai _std bs_e nt_lt reset default 0 0 0 0 0 0 0 0 0x51, b1-channel upstream data from gci to u-interface b1up r/w b1up7 b1up6 b1up5 b1up4 b1up3 b1up2 b1up1 b1up0 reset default 0x52, b2-channel upstream data from gci to u-interface b2up r/w b2up7 b2up6 b2up5 b2up4 b2up3 b2up2 b2up1 b2up0 reset default 0x53, b1-channel downstream data from gci to u-interface b1dn r/w b1dn7 b1dn6 b1dn5 b1dn4 b1dn3 b1dn2 b1dn1 b1dn0 reset default 0x54, b2-channel downstream data from gci to u-interface b2dn r/w b2dn7 b2dn6 b2dn5 b2dn4 b2dn3 b2dn2 b2dn1 b2dn0 reset default 0x55, reserved register for internal use reserved1r reset default 0x56, reserved register for internal use reserved2 r/w u_fdeact u_r54t mlse_power _dn reset default 0 1 0 0x57, reserved register for internal use reserved3r reset default 0x58, reserved register for internal use reserved4r reset default 0x59, reserved register for internal use reserved5r reset default 0x5a, reserved register for internal use reserved6r reset default 0x5b, reserved register for internal use reserved7r reset default 0x5c, reserved register for internal use reserved8r reset default 0x5d, reserved register for internal use reserved8r reset default
lucent technologies inc. 121 advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary (continued) table 132. register set summary hdlc registers reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0x18, hdlc transmitter configuration register htcf r/w fcnt2 fcnt1 fcnt0 idl txmode abrt_rq mancrc tx_init reset default 0 0 0 1 0 0 0 0 0x19, hdlc receiver configuration register hrcf r/w rxmode bae dropcrc rx_init reset default 0 0 0 0 0 1 0 0x1a, hdlc transmit fifo threshold htth r/w p_class tfae5 tfae4 tfae3 tfae2 tfae1 tfae0 reset default 1 0 1 0 0 0 0 0 0x1b, hdlc receive fifo threshold hrth r/w rfaf5 rfaf4 rfaf3 rfaf2 rfaf1 rfaf0 reset default 0 0 1 0 0 0 0 0 0x1c, hdlc transmit fifo space available htsa r tsp6 tsp5 tsp4 tsp3 tsp2 tsp1 tsp0 reset default 1 0 0 0 0 0 0 0x1d, hdlc receive fifo data available hrda r swrf nbnsw6 nbnsw5 nbnsw4 nbnsw3 nbnsw2 nbnsw1 nbnsw0 reset default 0x1e, hdlc transmit data htx w txd7 txd6 txd5 txd4 txd3 txd2 txd1 txd0 reset default 0x1f, hdlc transmit data last byte htxl w txdl7 txdl6 txdl5 txdl4 txdl3 txdl2 txdl1 txdl0 reset default 0x20, hdlc receive data hrx r rxd7 rxd6 rxd5 rxd4 rxd3 rxd2 rxd1 rxd0 reset default 0x21, hdlc sapi c/r bit mask register hscr r/w s3cre s2cre s1cre s0cre reset default 0 0 0 0 0 0 0 0 0x22, hdlc sapi match pattern 0 hsm0 r/w sapi05 sapi04 sapi03 sapi02 sapi01 sapi00 c/r0 ea00 bap7 bap6 bap5 bap4 bap3 bap2 bap1 bap0 reset default
122 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary (continued) table 132. register set summary hdlc registers (continued) reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0x23, hdlc tei match pattern 0 htm0 r/w tei06 tei05 tei04 tei03 tei02 tei01 tei00 ea10 reset default 0x24, hdlc sapi match pattern 1 hsm1 r/w sapi15 sapi14 sapi13 sapi12 sapi11 sapi10 c/r1 ea01 resetdefault 0x25, hdlc tei match pattern 1 htm1 r/w tei16 tei15 tei14 tei13 tei12 tei11 tei10 ea11 resetdefault 0x26, hdlc sapi match pattern 2 hsm2 r/w sapi25 sapi24 sapi23 sapi22 sapi21 sapi20 c/r2 ea02 resetdefault 0x27, hdlc tei match pattern 2 htm2 r/w tei26 tei25 tei24 tei23 tei22 tei21 tei20 ea12 resetdefault 0x28, hdlc sapi match pattern 3 hsm3 r/w sapi35 sapi34 sapi33 sapi32 sapi31 sapi30 c/r3 ea03 resetdefault 0x29, hdlc tei match pattern 3 htm3 r/w tei36 tei35 tei34 tei33 tei32 tei31 tei30 ea13 resetdefault 0x2a, hdlc sapi modifier register hsmod r/w sapi3m1 sapi3m0 sapi2m1 sapi2m0 sapi1m1 sapi1m0 sapi0m1 sapi0m0 resetdefault00000000 0x2b, hdlc tei modifier register htmod r/w tei3m1 tei3m0 tei2m1 tei2m0 tei1m1 tei1m0 tei0m1 tei0m0 resetdefault00000000 0x2c, hdlc interrupt register hdir r rstf rovr reof rabt rthr tundr tfc tthr resetdefault 0x2d, hdlc interrupt enable register hdie r rstfe rovre reofe rabte rthre tundre tfce tthre resetdefault00000000
lucent technologies inc. 123 advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary (continued) table 133. register set summary gci+ registers reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0x2e, gci+ configuration register gccf r/w gdriver pfsdel pfspe ckmode grate1 grate0 gmode1 gmode0 resetdefault0 0000000 0x2f, gci+ pfs1 offset select gcof1 r/w gtmode g_r_lbk g_l_lbk off14 off13 off12 off11 off10 resetdefault0 0000000 0x30, gci+ pfs2 offset select gcof2 r/w u_force _b2dn u_forc e_b1dn off24 off23 off22 off21 off20 resetdefault0 0000000 0x31, gci downstream (transmit) monitor data gcdmd w dmd7 dmd6 dmd5 dmd4 dmd3 dmd2 dmd1 dmd0 resetdefault1 1111111 0x32, gci downstream (transmit) monitor data last gcdml w dml7 dml6 dml5 dml4 dml3 dml2 dml1 dml0 resetdefault1 1111111 0x33, gci upstream (receive) monitor data gcumd r umd7 umd6 umd5 umd4 umd3 umd2 umd1 umd0 resetdefault 0x34, gci downstream (transmit) c/i data gcdci r/w dci6 dci5 dci4 dci3 dci2 dci1 resetdefault0 0 0x35, gci upstream (receive) c/i data gcuci r/w uci6 uci5 uci4 uci3 uci2 uci1 resetdefault0 0 0x36, gci interrupt register gcir r gwup ucic umrdy umeom umabrt dmrdy dmeom dmabrt resetdefault0 0000000 0x37, gci interrupt enable gcie r gwupe ucice umrdye umeome umabrt e dmrdye dmeome dmabrt e resetdefault0 0000000
124 lucent technologies inc. advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary (continued) table 134. register set summary gpio registers reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0x38, gpio port 0 pin direction gpdir0 r/w dir0.7 dir0.6 dir0.5 dir0.4 dir0.3 dir0.2 dir0.1 dir0.0 resetdefault1111111 1 0x39, gpio port 1 pin direction gpdir1 r/w dir1.7 dir1.6 dir1.5 dir1.4 dir1.3 dir1.2 dir1.1 dir1.0 resetdefault1111111 1 0x3a, gpio port 2 pin direction gpdir2 r/w dir2.7 dir2.6 dir2.5 dir2.4 dir2.3 dir2.2 dir2.1 dir2.0 resetdefault1111111 1 0x3b, gpio alternate function register #0 gpaf0 r/w gpaf0.7 gpaf0.6 gpaf0.5 gpaf0.4 resetdefault0000000 0 0x3c, gpio alternate function register #1 gpaf1 r/w gpaf1.7 gpaf1.6 gpaf1.5 gpaf2.3 gpaf2.2 gpaf2.1 gpreset resetdefault0000000 0 0x3d, gpio port 0 data register gpd0 r/w gpd0.7 gpd0.6 gpd0.5 gpd0.4 gpd0.3 gpd0.2 gpd0.1 gpd0.0 resetdefault0000000 0 0x3e, gpio port 1 data register gpd1 r/w gpd1.7 gpd1.6 gpd1.5 gpd1.4 gpd1.3 gpd1.2 gpd1.1 gpd1.0 resetdefault0000000 0 0x3f, gpio port 2 data register gpd2 r/w gpd2.7 gpd2.6 gpd2.5 gpd2.4 gpd2.3 gpd2.2 gpd2.1 gpd2.0 resetdefault0000000 0 0x40, gpio level-edge-triggered interrupt control gplei r/w ile1.3 ile1.2 ile1.1 ile1.0 ile0.3 ile0.2 ile0.1 ile0.0 resetdefault1111111 1 0x41, gpio interrupt polarity control gppol r/w ipol1.3 ipol1.2 ipol1.1 ipol1.0 ipol0.3 ipol0.2 ipol0.1 ipol0.0 resetdefault1111111 1 0x42, gpio interrupt register gpir r/w gpi1.3 gpi1.2 gpi1.1 gpi1.0 gpi0.3 gpi0.2 gpi0.1 gpi0.0 resetdefault 0x43, gpio interrupt enable gpie r/w gpie13 gpie12 gpie11 gpie10 gpie03 gpie02 gpie01 gpie00 resetdefault
lucent technologies inc. 125 advance data sheet april 2000 isdn network termination node (ntn) device T9000 25 register set summary (continued) table 135. register set summary pwm registers table 136. register set summary dc/dc register reg r/w bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0x44, pulse-width modulator # 0 configuration pw0cf r/w pw0_e pw0auto pw0ie pw0g.2 pw0g.1 pw0g.0 pw0r.1 pw0r.0 reset default 0 0 0x45, pulse-width modulator # 0 pulse-width value, high byte pw0vh r/w pw0vh7 pw0vh6 pw0vh5 pw0vh4 pw0vh3 pw0vh2 pw0vh1 pw0vh0 resetdefault 0x46, pulse-width modulator # 0 pulse-width value, low byte pw0vl r/w pw0vl7 pw0vl6 pw0vl5 pw0vl4 pw0vl3 pw0vl2 pw0vl1 pw0vl0 resetdefault 0x47, pulse-width modulator # 1 configuration pw1cf r/w pw1_e pw1auto pw1ie pw1g.2 pw1g.1 pw1g.0 pw1r.1 pw1r.0 resetdefault0 0 0x48, pulse-width modulator # 1 pulse-width value, high byte pw1vh r/w pw1vh7 pw1vh6 pw1vh5 pw1vh4 pw1vh3 pw1vh2 pw1vh1 pw1vh0 resetdefault 0x49, pulse-width modulator # 1 pulse-width value, low byte pw1vl r/w pw1vl7 pw1vl6 pw1vl5 pw1vl4 pw1vl3 pw1vl2 pw1vl1 pw1vl0 resetdefault 0x4a, pulse-width modulator interrupt register pwirr pw1ipw0i resetdefault 0 0 0x4b, dc/dc configuration register dccf r/w dc_e dcv4 dcv3 dcv2 dcv1 dcv0 reset default 0 0 0
advance data sheet april 2000 isdn network termination node (ntn) device T9000 lucent technologies inc. reserves the right to make changes to the product(s) or information contained herein without notice. n o liability is assumed as a result of their use or application. no rights under any patent accompany the sale of any such product(s) or information. copyright ? 2000 lucent technologies inc. all rights reserved printed in u.s.a. april 2000 ds00-181isdn (replaces ds98-194isdn) for additional information, contact your microelectronics group account manager or the following: internet: http://www.lucent.com/micro e-mail: docmaster@micro.lucent.com n. america: microelectronics group, lucent technologies inc., 555 union boulevard, room 30l-15p-ba, allentown, pa 18103 1-800-372-2447 , fax 610-712-4106 (in canada: 1-800-553-2448 , fax 610-712-4106) asia pacific: microelectronics group, lucent technologies singapore pte. ltd., 77 science park drive, #03-18 cintech iii, singap ore 118256 tel. (65) 778 8833 , fax (65) 777 7495 china: microelectronics group, lucent technologies (china) co., ltd., a-f2, 23/f, zao fong universe building, 1800 zhong shan xi road, shanghai 200233 p. r. china tel. (86) 21 6440 0468 , ext. 316 , fax (86) 21 6440 0652 japan: microelectronics group, lucent technologies japan ltd., 7-18, higashi-gotanda 2-chome, shinagawa-ku, tokyo 141, japan tel. (81) 3 5421 1600 , fax (81) 3 5421 1700 europe: data requests: microelectronics group dataline: tel. (44) 7000 582 368 , fax (44) 1189 328 148 technical inquiries: germany: (49) 89 95086 0 (munich), united kingdom: (44) 1344 865 900 (ascot), france: (33) 1 40 83 68 00 (paris), sweden: (46) 8 594 607 00 (stockholm), finland: (358) 9 4354 2800 (helsinki), italy: (39) 02 6608131 (milan), spain: (34) 1 807 1441 (madrid) 25 register set summary (continued) table 137. register set summary comparator registers 0x4c, comparator enable cme r/w cmv.2 cmv.1 cmv.0 cme.2 cme.1 cme.0 reset default 0 0 0 0 0 0x4d, comparator transition polarity cmt r/w cmv.2 cmv.1 cmv.0 cmt.2 cmt.1 cmt.0 reset default 0 0 1 1 1 0x4e, comparator interrupt register cmir r cmv.2 cmv.1 cmv.0 cmi.2 cmi.1 cmi.0 reset default 1 1 1 0x4f, comparator interrupt enable cmie r/w cmv.2 cmv.1 cmv.0 cmie.2 cmie.1 cmie.0 reset default 0 0 0 0 0


▲Up To Search▲   

 
Price & Availability of T9000

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X